diff options
Diffstat (limited to 'winsup/cygwin/fhandler_process.cc')
-rw-r--r-- | winsup/cygwin/fhandler_process.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler_process.cc b/winsup/cygwin/fhandler_process.cc index cd4813d..11f004c 100644 --- a/winsup/cygwin/fhandler_process.cc +++ b/winsup/cygwin/fhandler_process.cc @@ -85,7 +85,7 @@ fhandler_process::exists () const char *path = get_name (); debug_printf ("exists (%s)", path); path += proc_len + 1; - while (*path != 0 && !SLASH_P (*path)) + while (*path != 0 && !isdirsep (*path)) path++; if (*path == 0) return 2; @@ -172,7 +172,7 @@ fhandler_process::open (path_conv *pc, int flags, mode_t mode) const char *path; path = get_name () + proc_len + 1; pid = atoi (path); - while (*path != 0 && !SLASH_P (*path)) + while (*path != 0 && !isdirsep (*path)) path++; if (*path == 0) |