diff options
author | Christopher Faylor <me@cgf.cx> | 2003-01-09 08:22:05 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-01-09 08:22:05 +0000 |
commit | 85ba109de7c313449a8d4cd8bcc7b0606d0f15ec (patch) | |
tree | ee0dac5c3f1406d3c39f6ef39148dc40dae2698f /winsup/cygwin/fhandler_proc.cc | |
parent | 9f05d3a44a4f7c12a832b972fad9c4f0cc693421 (diff) | |
download | cygnal-85ba109de7c313449a8d4cd8bcc7b0606d0f15ec.tar.gz cygnal-85ba109de7c313449a8d4cd8bcc7b0606d0f15ec.tar.bz2 cygnal-85ba109de7c313449a8d4cd8bcc7b0606d0f15ec.zip |
Use isdirsep rather than SLASH_P throughout.
* path.cc (iscygdrive): Disallow /cygdrive\x.
(normalize_posix_path): "Normalize" a windows path, if detected, rather than
converting to posix.
* fhandler_serial.cc (fhandler_serial::tcsetattr): Add support and capability
checking for B230400 bitrate.
(fhandler_serial::tcgetattr): Add support for B230400 bitrate.
* include/sys/termios.h: Add B230400 definition for Posix support of 230.4Kbps.
Diffstat (limited to 'winsup/cygwin/fhandler_proc.cc')
-rw-r--r-- | winsup/cygwin/fhandler_proc.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc index f887e8cb7..2bfe48a94 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; |