Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-05-19 05:25:20 +0400
committerChristopher Faylor <me@cgf.cx>2005-05-19 05:25:20 +0400
commitac437c3e0c36f710d66c619635693adfd12c6c00 (patch)
treea8352b720d4049c58f6cd65f17c1fb9954f41df4 /winsup/cygwin/fhandler_proc.cc
parent24515d6563060fda3ad1d0cfa7bbb6936521895b (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.cc2
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)