]> Git repositories of Nishi - tewi.git/commitdiff
do not chdir
authorNishi <nishi@nishi.boats>
Mon, 23 Sep 2024 11:12:46 +0000 (11:12 +0000)
committerNishi <nishi@nishi.boats>
Mon, 23 Sep 2024 11:12:46 +0000 (11:12 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@138 8739d7e6-ffea-ec47-b151-bdff447c6205

Server/config.c
Server/tw_version.h

index 5fdf216a0c6b7d0b150eb33cb71d55851253bded..56b3c2d5e4425a485ece10cabacb71f193d90c94 100644 (file)
@@ -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) {
index 7ef9f5c6c93380f483d188f435b2f0de7ae836d8..303ff044e076a6e2ce0e7ebc6b7350ae7f32e754 100644 (file)
@@ -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);