]> git.pld-linux.org Git - packages/gettext.git/commitdiff
- added missing mode (maybe too permisive) to creat
authorSzymon Siwek <sls@pld-linux.org>
Tue, 14 Oct 2008 02:45:37 +0000 (02:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gettext-creat_mode.patch -> 1.1

gettext-creat_mode.patch [new file with mode: 0644]

diff --git a/gettext-creat_mode.patch b/gettext-creat_mode.patch
new file mode 100644 (file)
index 0000000..3d95bdc
--- /dev/null
@@ -0,0 +1,11 @@
+--- gettext-0.17/gettext-tools/src/write-catalog.c.orig        2008-10-14 03:27:49.515344772 +0200
++++ gettext-0.17/gettext-tools/src/write-catalog.c     2008-10-14 04:01:48.875184215 +0200
+@@ -220,7 +220,7 @@
+       /* Open the output file.  */
+       if (!to_stdout)
+       {
+-        fd = open (filename, O_WRONLY | O_CREAT);
++        fd = open (filename, O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
+         if (fd < 0)
+           {
+             const char *errno_description = strerror (errno);
This page took 0.214282 seconds and 4 git commands to generate.