]> git.pld-linux.org Git - packages/dosemu.git/blobdiff - dosemu-creat_mode.patch
- fix for:
[packages/dosemu.git] / dosemu-creat_mode.patch
diff --git a/dosemu-creat_mode.patch b/dosemu-creat_mode.patch
new file mode 100644 (file)
index 0000000..86d8a5f
--- /dev/null
@@ -0,0 +1,11 @@
+--- dosemu-1.4.0/src/tools/periph/dexeconfig.c.orig    2008-10-10 16:01:05.802663404 +0200
++++ dosemu-1.4.0/src/tools/periph/dexeconfig.c 2008-10-10 16:15:55.241534296 +0200
+@@ -238,7 +238,7 @@
+     exit(1);
+   }
+   close(fd);
+-  fc = open(cfile, O_WRONLY | O_CREAT | O_TRUNC);
++  fc = open(cfile, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
+   if (fc < 0) {
+     perror("cannot open config file");
+     exit(1);
This page took 0.086697 seconds and 4 git commands to generate.