From 723223ab9f384e6e52a6f92000fade1d47da19b2 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 2 Mar 2011 13:22:44 +0000 Subject: [PATCH] * fhandler_procsys.cc (fhandler_procsys::open): Call worker exists method, rather than wrapper. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/fhandler_procsys.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * fhandler_procsys.cc (fhandler_procsys::open): Call worker exists + method, rather than wrapper. + 2011-03-01 Christopher Faylor * 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: