]>
Commit | Line | Data |
---|---|---|
20a38a99 SS |
1 | --- dosemu-1.4.0/src/tools/periph/dexeconfig.c.orig 2008-10-10 16:01:05.802663404 +0200 |
2 | +++ dosemu-1.4.0/src/tools/periph/dexeconfig.c 2008-10-10 16:15:55.241534296 +0200 | |
3 | @@ -238,7 +238,7 @@ | |
4 | exit(1); | |
5 | } | |
6 | close(fd); | |
7 | - fc = open(cfile, O_WRONLY | O_CREAT | O_TRUNC); | |
8 | + fc = open(cfile, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); | |
9 | if (fc < 0) { | |
10 | perror("cannot open config file"); | |
11 | exit(1); |