www.delorie.com/archives/browse.cgi | search |
>>> On Sat, 17 Jun 2000 12:43:38 -0400 >>> Chris Faylor <cgf AT cygnus DOT com> said: > Is this problem fixed by your recent changes to cygwin, Kazuhiro? No, the latest implementation still causes the same problem. I guessed `isabspath' can reject `c:cygwin' at the beginning of mount_info::add_item, but it can't. I suggest modifying its definition. ChangeLog: 2000-06-17 Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp> * winsup.h (isabspath): `C:foo' isn't an absolute path. Index: winsup.h =================================================================== RCS file: /cvs/src/src/winsup/cygwin/winsup.h,v retrieving revision 1.10 diff -u -p -r1.10 winsup.h --- winsup.h 2000/05/17 05:49:51 1.10 +++ winsup.h 2000/06/17 21:06:13 @@ -357,7 +357,7 @@ extern unsigned int signal_shift_subtrac #define isdirsep SLASH_P #define isabspath(p) \ - (isdirsep (*(p)) || (isalpha (*(p)) && (p)[1] == ':')) + (isdirsep (*(p)) || (isalpha (*(p)) && (p)[1] == ':' && (!(p)[2] || isdirsep ((p)[2])))) /******************** Initialization/Termination **********************/ ____ | AIST Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp> | HOKURIKU School of Information Science o_/ 1990 Japan Advanced Institute of Science and Technology
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |