aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-01-09 08:22:53 +0000
committerChristopher Faylor <me@cgf.cx>2003-01-09 08:22:53 +0000
commitc094477667f78d4cb4cdd14e62d8d0ab676bf69e (patch)
tree4b8e50121fdf44a4d76b930298a8841c2da5094e
parent9e98bda5abfbbc4f5b0fd68361622bccbd6ff300 (diff)
downloadnewlib-github/unlabeled-1.27.8.zip
newlib-github/unlabeled-1.27.8.tar.gz
newlib-github/unlabeled-1.27.8.tar.bz2
-rw-r--r--winsup/cygwin/fhandler_process.cc4
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)