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/sysconf.cc')
-rw-r--r--winsup/cygwin/sysconf.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/sysconf.cc b/winsup/cygwin/sysconf.cc
index 1d89c0b7e..75bf69f61 100644
--- a/winsup/cygwin/sysconf.cc
+++ b/winsup/cygwin/sysconf.cc
@@ -27,9 +27,9 @@ sysconf (int in)
return 1048576;
case _SC_OPEN_MAX:
/* FIXME: this returns the current limit which can increase
- if and when hinfo::find_unused_handle is called. Perhaps
+ if and when dtable::find_unused_handle is called. Perhaps
we should return NOFILE or OPEN_MAX instead? */
- return dtable.size;
+ return fdtab.size;
case _SC_PAGESIZE:
{
SYSTEM_INFO b;