From d167b0985a6a22d2615cdd28e0af45b81c66fe5e Mon Sep 17 00:00:00 2001 From: Nishi Date: Mon, 23 Sep 2024 11:12:46 +0000 Subject: [PATCH] do not chdir git-svn-id: file:///raid/svn-personal/tewi/trunk@138 8739d7e6-ffea-ec47-b151-bdff447c6205 --- Server/config.c | 1 - Server/tw_version.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Server/config.c b/Server/config.c index 5fdf216..56b3c2d 100644 --- a/Server/config.c +++ b/Server/config.c @@ -91,7 +91,6 @@ void tw_config_init(void) { config.server_root = cm_strdup(PREFIX); config.server_admin = cm_strdup(SERVER_ADMIN); gethostname(config.hostname, 1024); - chdir(config.server_root); } int tw_config_read(const char* path) { diff --git a/Server/tw_version.h b/Server/tw_version.h index 7ef9f5c..303ff04 100644 --- a/Server/tw_version.h +++ b/Server/tw_version.h @@ -3,7 +3,7 @@ #ifndef __TW_VERSION_H__ #define __TW_VERSION_H__ -#define TW_VERSION "1.05\0" +#define TW_VERSION "1.05A\0" const char* tw_get_version(void); const char* tw_get_platform(void); -- 2.45.2