From 63677cf887752630458871436ae74ae560967325 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 9 Jan 2003 08:22:52 +0000 Subject: . --- winsup/cygwin/fhandler_proc.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc index 850107f..c070887 100644 --- a/winsup/cygwin/fhandler_proc.cc +++ b/winsup/cygwin/fhandler_proc.cc @@ -87,7 +87,7 @@ fhandler_proc::get_proc_fhandler (const char *path) * it being normalised and therefore the path may have runs of slashes * in it. */ - while (SLASH_P (*path)) + while (isdirsep (*path)) path++; /* Check if this is the root of the virtual filesystem (i.e. /proc). */ @@ -105,7 +105,7 @@ fhandler_proc::get_proc_fhandler (const char *path) bool has_subdir = false; while (*path) - if (SLASH_P (*path++)) + if (isdirsep (*path++)) { has_subdir = true; break; -- cgit v1.1