changeset 1820:6908e7ed16b7

(utime_null): Don't pass 0666 to open; it's not needed and isn't guaranteed to be portable.
author Jim Meyering <jim@meyering.net>
date Mon, 26 Apr 1999 13:25:08 +0000
parents 968a9cfcdb37
children e182ba5dd68f
files lib/utime.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib/utime.c
+++ b/lib/utime.c
@@ -54,7 +54,7 @@
   int status = 0;
   struct stat sb;
 
-  fd = open (file, O_RDWR, 0666);
+  fd = open (file, O_RDWR);
   if (fd < 0
       || fstat (fd, &sb) < 0
       || safe_read (fd, &c, sizeof (char)) < 0