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:
Diffstat (limited to 'winsup/cygwin/pinfo.cc')
-rw-r--r--winsup/cygwin/pinfo.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc
index 185475632..098b67e41 100644
--- a/winsup/cygwin/pinfo.cc
+++ b/winsup/cygwin/pinfo.cc
@@ -729,7 +729,7 @@ _pinfo::fds (size_t &n)
{
n = 0;
int fd;
- cygheap_fdenum cfd;
+ cygheap_fdenum cfd (true);
while ((fd = cfd.next ()) >= 0)
n += sizeof (int);
cfd.rewind ();