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:
authorChristopher Faylor <me@cgf.cx>2003-01-09 11:22:52 +0300
committerChristopher Faylor <me@cgf.cx>2003-01-09 11:22:52 +0300
commit63677cf887752630458871436ae74ae560967325 (patch)
tree7075db7b1d056f95d88f963b8ff2282a74402977
parent5d34239fd9f95dc7411b0bf848b56c4cfcc87a1f (diff)
-rw-r--r--winsup/cygwin/fhandler_proc.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc
index 850107fee..c070887d0 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;