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/pipe.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/pipe.cc')
-rw-r--r-- | winsup/cygwin/pipe.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/pipe.cc b/winsup/cygwin/pipe.cc index 8d16b1742..440e70396 100644 --- a/winsup/cygwin/pipe.cc +++ b/winsup/cygwin/pipe.cc @@ -49,7 +49,7 @@ fhandler_pipe::open (int flags, mode_t mode) sscanf (get_name (), "/proc/%d/fd/pipe:[%d]", &pid, (int *) &pipe_hdl); if (pid == myself->pid) { - cygheap_fdenum cfd; + cygheap_fdenum cfd (true); while (cfd.next () >= 0) { if (cfd->get_handle () != pipe_hdl) |