diff options
author | Christopher Faylor <me@cgf.cx> | 2005-10-24 15:09:07 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-10-24 15:09:07 +0000 |
commit | 16bbf0cc57288917bca2420513462a0cb9c3ce82 (patch) | |
tree | 872f1287fb857f8d30d784b06dc92f1eef89b8e3 /winsup/cygwin/times.cc | |
parent | 95baaf8819c879ee742e422d761b4617fcccee77 (diff) | |
download | cygnal-16bbf0cc57288917bca2420513462a0cb9c3ce82.tar.gz cygnal-16bbf0cc57288917bca2420513462a0cb9c3ce82.tar.bz2 cygnal-16bbf0cc57288917bca2420513462a0cb9c3ce82.zip |
* cygheap.h (cygheap_fdenum): Remove start_fd stuff.
(cygheap_fdenum::rewind): Ditto.
* pipe.cc (fhandler_pipe::open): Lock fdtab while enumerating.
* times.cc (utimes_worker): Ditto.
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 4ceb093ef..7bb961d75 100644 --- a/winsup/cygwin/times.cc +++ b/winsup/cygwin/times.cc @@ -454,7 +454,7 @@ utimes_worker (const char *path, const struct timeval *tvp, int nofollow) fhandler_base *fh = NULL; bool fromfd = false; - cygheap_fdenum cfd; + cygheap_fdenum cfd (true); while (cfd.next () >= 0) if (cfd->get_access () & (FILE_WRITE_ATTRIBUTES | GENERIC_WRITE) && strcmp (cfd->get_win32_name (), win32) == 0) |