]> git.pld-linux.org Git - packages/XFree86.git/blame - XFree86-mkfontdir-chmod_644.patch
- outdated
[packages/XFree86.git] / XFree86-mkfontdir-chmod_644.patch
CommitLineData
b1cabb30 1diff -urN XFree86-4.0.3.orig/xc/programs/mkfontdir/mkfontdir.c XFree86-4.0.3/xc/programs/mkfontdir/mkfontdir.c
2--- XFree86-4.0.3.orig/xc/programs/mkfontdir/mkfontdir.c Wed Nov 29 17:45:52 2000
3+++ XFree86-4.0.3/xc/programs/mkfontdir/mkfontdir.c Wed May 23 20:00:31 2001
4@@ -210,6 +210,7 @@
5 fprintf (file, "%s %s\n", entry->u.bitmap.fileName, entry->name.name);
6 }
7 fclose (file);
8+ chmod (full_name, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
9
10 /* Write out encodings directory */
11
12@@ -232,6 +233,7 @@
13 fprintf(file, "%s %s%s\n",
14 encoding->name, prefix, encoding->fileName);
15 fclose(file);
16+ chmod (full_name, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
17
18 return TRUE;
19 }
This page took 0.058618 seconds and 4 git commands to generate.