1 --- miau/src/miau.h~ 2005-02-27 22:10:30.000000000 +1030
2 +++ miau/src/miau.h 2005-02-27 22:11:55.000000000 +1030
7 -#define MIAURC "miaurc"
8 -#define MIAUDIR ".miau/"
9 +#define MIAURC "/etc/miau.conf"
10 +#define MIAUDIR "miau/"
12 -#define FILE_PID "pid"
13 -#define FILE_LOG "log"
14 +#define FILE_PID "/var/run/miau.pid"
15 +#define FILE_LOG "/var/log/miau.log"
16 #define FILE_INBOX "inbox"
18 #define MIAU_URL "http://miau.sourceforge.net/"
19 --- miau/src/miau.c.orig 2004-11-08 23:42:14.000000000 +1030
20 +++ miau/src/miau.c 2004-11-08 23:47:44.000000000 +1030
21 @@ -2348,10 +2348,13 @@
26 if (! (s = getenv("HOME"))) {
27 error(MIAU_ERRNOHOME);
33 cfg.home = xmalloc(strlen(s) + strlen(MIAUDIR) + 2);
39 - if (mkdir(LOGDIR, 0700) == -1) {
40 + if (mkdir(LOGDIR, 0755) == -1) {
41 error(MIAU_ERRCREATELOGDIR, LOGDIR);