Subversion Repositories Tewi

Rev

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

Rev 215 Rev 219
Line 1... Line 1...
1
/* $Id: main.c 215 2024-10-02 19:24:43Z nishi $ */
1
/* $Id: main.c 219 2024-10-02 20:40:37Z nishi $ */
2
 
2
 
3
#define SOURCE
3
#define SOURCE
4
 
4
 
5
#include "../config.h"
5
#include "../config.h"
6
 
6
 
Line 787... Line 787...
787
	}
787
	}
788
	sprintf(tw_server, "Tewi/%s (%s)%s", tw_get_version(), tw_get_platform(), config.extension == NULL ? "" : config.extension);
788
	sprintf(tw_server, "Tewi/%s (%s)%s", tw_get_version(), tw_get_platform(), config.extension == NULL ? "" : config.extension);
789
	r = cm_strcat(tw_server, " running...");
789
	r = cm_strcat(tw_server, " running...");
790
	cm_force_log(r);
790
	cm_force_log(r);
791
	free(r);
791
	free(r);
792
#if !defined(__MINGW32__) && !defined(_MSC_VER) && !defined(__BORLANDC__)
792
#if !defined(__MINGW32__) && !defined(_MSC_VER) && !defined(__BORLANDC__) && !defined(__WATCOMC__)
793
	signal(SIGCHLD, SIG_IGN);
793
	signal(SIGCHLD, SIG_IGN);
794
	signal(SIGPIPE, SIG_IGN);
794
	signal(SIGPIPE, SIG_IGN);
795
#else
795
#else
796
	SetConsoleTitle(tw_server);
796
	SetConsoleTitle(tw_server);
797
#endif
797
#endif