home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ba3578
)
Server/C: Set same server dir mode as Python variant does.
author
Christian Heller
<c.heller@plomlompom.de>
Sun, 8 Mar 2015 16:40:31 +0000
(17:40 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Sun, 8 Mar 2015 16:40:31 +0000
(17:40 +0100)
src/server/init.c
patch
|
blob
|
history
diff --git
a/src/server/init.c
b/src/server/init.c
index f5c81d3d5081b3ec4ed48f43eeb1801f94f86789..f44c504208e537362a32f0e70c8ede30231c1a5f 100644
(file)
--- a/
src/server/init.c
+++ b/
src/server/init.c
@@
-166,7
+166,7
@@
extern void obey_argv(int argc, char * argv[])
extern void setup_server_io()
{
- int test = mkdir("server", 07
00
);
+ int test = mkdir("server", 07
77
);
exit_trouble(test && EEXIST != errno, __func__, "mkdir");
world.file_out = try_fopen(s[S_PATH_OUT], "w", __func__);
world.server_test = try_malloc(10 + 1 + 10 + 1 + 1, __func__);