Subversion Repositories Tewi

Rev

Rev 311 | Rev 315 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 311 Rev 312
Line 1... Line 1...
1
/* $Id: main.c 311 2024-10-13 01:23:22Z nishi $ */
1
/* $Id: main.c 312 2024-10-13 18:17:37Z nishi $ */
2
 
2
 
3
#define SOURCE
3
#define SOURCE
4
 
4
 
5
#include "../config.h"
5
#include "../config.h"
6
 
6
 
Line 21... Line 21...
21
 
21
 
22
#ifndef NO_SSL
22
#ifndef NO_SSL
23
#include <openssl/opensslv.h>
23
#include <openssl/opensslv.h>
24
#endif
24
#endif
25
 
25
 
-
 
26
#ifdef __OS2__
-
 
27
#include <types.h>
-
 
28
#endif
-
 
29
 
26
#include <cm_log.h>
30
#include <cm_log.h>
27
#include <cm_string.h>
31
#include <cm_string.h>
28
 
32
 
29
#include "tw_config.h"
33
#include "tw_config.h"
30
#include "tw_server.h"
34
#include "tw_server.h"
Line 799... Line 803...
799
	cm_force_log(r);
803
	cm_force_log(r);
800
	free(r);
804
	free(r);
801
#if !defined(__MINGW32__) && !defined(_MSC_VER) && !defined(__BORLANDC__) && !defined(__WATCOMC__)
805
#if !defined(__MINGW32__) && !defined(_MSC_VER) && !defined(__BORLANDC__) && !defined(__WATCOMC__)
802
	signal(SIGCHLD, SIG_IGN);
806
	signal(SIGCHLD, SIG_IGN);
803
	signal(SIGPIPE, SIG_IGN);
807
	signal(SIGPIPE, SIG_IGN);
804
#elif !defined(BUILD_GUI)
808
#elif !defined(BUILD_GUI) && !defined(__OS2__)
805
	SetConsoleTitle(tw_server);
809
	SetConsoleTitle(tw_server);
806
#endif
810
#endif
807
	return -1;
811
	return -1;
808
}
812
}