]> git.pld-linux.org Git - packages/XFree86.git/commitdiff
- chmod 644 created files. Solves problem on systems with umask more
authormkochano <mkochano@pld-linux.org>
Thu, 24 May 2001 12:50:34 +0000 (12:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  restrictive than 022.

Changed files:
    XFree86-mkfontdir-chmod_644.patch -> 1.1

XFree86-mkfontdir-chmod_644.patch [new file with mode: 0644]

diff --git a/XFree86-mkfontdir-chmod_644.patch b/XFree86-mkfontdir-chmod_644.patch
new file mode 100644 (file)
index 0000000..a2b2e29
--- /dev/null
@@ -0,0 +1,19 @@
+diff -urN XFree86-4.0.3.orig/xc/programs/mkfontdir/mkfontdir.c XFree86-4.0.3/xc/programs/mkfontdir/mkfontdir.c
+--- XFree86-4.0.3.orig/xc/programs/mkfontdir/mkfontdir.c       Wed Nov 29 17:45:52 2000
++++ XFree86-4.0.3/xc/programs/mkfontdir/mkfontdir.c    Wed May 23 20:00:31 2001
+@@ -210,6 +210,7 @@
+       fprintf (file, "%s %s\n", entry->u.bitmap.fileName, entry->name.name);
+     }
+     fclose (file);
++    chmod (full_name, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
+     /* Write out encodings directory */
+@@ -232,6 +233,7 @@
+         fprintf(file, "%s %s%s\n", 
+                 encoding->name, prefix, encoding->fileName);
+     fclose(file);
++    chmod (full_name, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
+     return TRUE;
+ }
This page took 0.081915 seconds and 4 git commands to generate.