summaryrefslogtreecommitdiff
blob: 534f3a92d8ac43b0ba63bdbb778d24144b76a734 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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]");