diff options
author | Jim Meyering <jim@meyering.net> | 1999-04-26 13:25:08 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-04-26 13:25:08 +0000 |
commit | 40e284d3f1e643410c06559522183b1c4eff1030 (patch) | |
tree | e66df283b1e808dc7b425f086d9527fb6fc87b35 | |
parent | f2ab7f35a9a3c5edcb3164d39201bc255b8260a4 (diff) | |
download | gnulib-40e284d3f1e643410c06559522183b1c4eff1030.tar.gz |
(utime_null): Don't pass 0666 to open; it's not needed and isn't
guaranteed to be portable.
-rw-r--r-- | lib/utime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utime.c b/lib/utime.c index 557444c0d3..8e6c37d64e 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 |