diff options
author | Christopher Faylor <me@cgf.cx> | 2005-05-19 05:25:20 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-05-19 05:25:20 +0400 |
commit | ac437c3e0c36f710d66c619635693adfd12c6c00 (patch) | |
tree | a8352b720d4049c58f6cd65f17c1fb9954f41df4 /winsup/cygwin/fhandler_proc.cc | |
parent | 24515d6563060fda3ad1d0cfa7bbb6936521895b (diff) |
* external.cc: Move pids declaration to file scope and use less enthusiastic
constructor.
* pinfo.h (winpids::winpids): Remove default setting.
* fhandler_fifo.cc (fhandler_fifo::open_not_mine): Accommodate removal of
default setting.
* fhandler_proc.cc (fhandler_proc::readdir): Ditto.
Diffstat (limited to 'winsup/cygwin/fhandler_proc.cc')
-rw-r--r-- | winsup/cygwin/fhandler_proc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc index 2086939ee..9d395185c 100644 --- a/winsup/cygwin/fhandler_proc.cc +++ b/winsup/cygwin/fhandler_proc.cc @@ -200,7 +200,7 @@ fhandler_proc::readdir (DIR * dir) { if (dir->__d_position >= PROC_LINK_COUNT) { - winpids pids; + winpids pids ((DWORD) 0); int found = 0; for (unsigned i = 0; i < pids.npids; i++) if (found++ == dir->__d_position - PROC_LINK_COUNT) |