[2.30] bump webkit to 1.1.16
[jhbuild/xnox.git] / patches / gettext-0.17-open.patch
blob45e68cf75a07dd9c5c7c89064be6dadc6a1c9f53
1 http://bugs.gentoo.org/show_bug.cgi?id=232081
3 diff -Nru /var/tmp/portage/sys-devel/gettext-0.17-r1/work/gettext-0.17/gettext-tools/src/write-catalog.c /root/hardened/gettext-0.17/gettext-tools/src/write-catalog.c
4 --- /gettext-0.17/gettext-tools/src/write-catalog.c 2007-10-07 21:37:39.000000000 +0200
5 +++ /gettext-0.17/gettext-tools/src/write-catalog.c 2008-06-16 00:28:11.000000000 +0200
6 @@ -220,7 +220,7 @@
7 /* Open the output file. */
8 if (!to_stdout)
10 - fd = open (filename, O_WRONLY | O_CREAT);
11 + fd = open (filename, O_WRONLY | O_CREAT, S_IRUSR|S_IWUSR);
12 if (fd < 0)
14 const char *errno_description = strerror (errno);