X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Futime.c;h=8e6c37d64e2e5d7bf1064c56855397af85b10c65;hb=378873e8508590d356a540e5db32592750fb18b8;hp=557444c0d30d8b71b6f4482a17fce3cdfeb2d768;hpb=3e65438376f090a29ee885c8e94e248f819f8e2e;p=gnulib.git diff --git a/lib/utime.c b/lib/utime.c index 557444c0d..8e6c37d64 100644 --- a/lib/utime.c +++ b/lib/utime.c @@ -54,7 +54,7 @@ utime_null (const char *file) 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