diff options
Diffstat (limited to 'sci-calculators/transcalc/files/transcalc-0.14-fd-perm.patch')
-rw-r--r-- | sci-calculators/transcalc/files/transcalc-0.14-fd-perm.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sci-calculators/transcalc/files/transcalc-0.14-fd-perm.patch b/sci-calculators/transcalc/files/transcalc-0.14-fd-perm.patch new file mode 100644 index 000000000000..534f3a92d8ac --- /dev/null +++ b/sci-calculators/transcalc/files/transcalc-0.14-fd-perm.patch @@ -0,0 +1,13 @@ +Index: transcalc-0.14/src/transcalc.c +=================================================================== +--- transcalc-0.14.orig/src/transcalc.c 2009-05-19 22:00:01.000000000 -0400 ++++ transcalc-0.14/src/transcalc.c 2009-05-19 22:01:22.000000000 -0400 +@@ -146,7 +146,7 @@ + /* see if config file exists */ + if (stat (config_filename, config_file_stat) != 0) { + /* config file missing, so touch it */ +- config_file_fd = open (config_filename, O_CREAT); ++ config_file_fd = open (config_filename, O_CREAT, 0644); + if (config_file_fd == -1) + { + perror ("open[config_file]"); |