summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/fhandler_procsys.cc2
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index cc702cc6c..32ca9af3d 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,8 @@
+2011-03-02 Corinna Vinschen <corinna@vinschen.de>
+
+ * fhandler_procsys.cc (fhandler_procsys::open): Call worker exists
+ method, rather than wrapper.
+
2011-03-01 Christopher Faylor <me+cygwin@cgf.cx>
* autoload.cc (dll_load): Avoid in_forkee test since this apparently
diff --git a/winsup/cygwin/fhandler_procsys.cc b/winsup/cygwin/fhandler_procsys.cc
index 6c91a2f9c..50e49bffc 100644
--- a/winsup/cygwin/fhandler_procsys.cc
+++ b/winsup/cygwin/fhandler_procsys.cc
@@ -350,7 +350,7 @@ fhandler_procsys::open (int flags, mode_t mode)
set_errno (EINVAL);
else
{
- switch (exists ())
+ switch (exists (NULL))
{
case virt_directory:
case virt_rootdir: