aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-01-09 08:22:52 +0000
committerChristopher Faylor <me@cgf.cx>2003-01-09 08:22:52 +0000
commit63677cf887752630458871436ae74ae560967325 (patch)
tree7075db7b1d056f95d88f963b8ff2282a74402977
parent5d34239fd9f95dc7411b0bf848b56c4cfcc87a1f (diff)
downloadnewlib-github/unlabeled-1.18.10.zip
newlib-github/unlabeled-1.18.10.tar.gz
newlib-github/unlabeled-1.18.10.tar.bz2
-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 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;