diff options
author | Christopher Faylor <me@cgf.cx> | 2005-02-20 04:25:33 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-02-20 04:25:33 +0000 |
commit | 731028b3266ad7660095fbae3d94ce5cb9b378b0 (patch) | |
tree | 632123b51cc5fdcd9e4864ad2a182032aa9c3536 /winsup/cygwin/times.cc | |
parent | 0d75ce965cf46a16585477469bb4edb597a35f00 (diff) | |
download | cygnal-731028b3266ad7660095fbae3d94ce5cb9b378b0.tar.gz cygnal-731028b3266ad7660095fbae3d94ce5cb9b378b0.tar.bz2 cygnal-731028b3266ad7660095fbae3d94ce5cb9b378b0.zip |
copyright
Diffstat (limited to 'winsup/cygwin/times.cc')
-rw-r--r-- | winsup/cygwin/times.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/times.cc b/winsup/cygwin/times.cc index b76c0b6b2..1e1a90abd 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 |