aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/times.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-02-20 04:25:33 +0000
committerChristopher Faylor <me@cgf.cx>2005-02-20 04:25:33 +0000
commit731028b3266ad7660095fbae3d94ce5cb9b378b0 (patch)
tree632123b51cc5fdcd9e4864ad2a182032aa9c3536 /winsup/cygwin/times.cc
parent0d75ce965cf46a16585477469bb4edb597a35f00 (diff)
downloadnewlib-731028b3266ad7660095fbae3d94ce5cb9b378b0.zip
newlib-731028b3266ad7660095fbae3d94ce5cb9b378b0.tar.gz
newlib-731028b3266ad7660095fbae3d94ce5cb9b378b0.tar.bz2
copyright
Diffstat (limited to 'winsup/cygwin/times.cc')
-rw-r--r--winsup/cygwin/times.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/times.cc b/winsup/cygwin/times.cc
index b76c0b6..1e1a90a 100644
--- a/winsup/cygwin/times.cc
+++ b/winsup/cygwin/times.cc
@@ -463,7 +463,7 @@ utimes (const char *path, const struct timeval *tvp)
the times of directories. */
/* Note: It's documented in MSDN that FILE_WRITE_ATTRIBUTES is
sufficient to change the timestamps. Unfortunately it's not
- sufficient for a remote HPFS which requires GENERIC_WRITE.
+ sufficient for a remote HPFS which requires GENERIC_WRITE.
Since we don't trust the weird FS name "??SS", we just try to
open with GENERIC_WRITE if opening with FILE_WRITE_ATTRIBUTES
failed. That should do it, though this fails for R/O files