This is the mail archive of the
cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: [earnie_boyd@yahoo.com: Re: Wierd mount problem with "latest" release]
- To: cygwin-developers at sourceware dot cygnus dot com
- Subject: Re: [earnie_boyd@yahoo.com: Re: Wierd mount problem with "latest" release]
- From: Kazuhiro Fujieda <fujieda at jaist dot ac dot jp>
- Date: 18 Jun 2000 06:23:12 +0900
- References: <20000617124338.D952@cygnus.com>
>>> On Sat, 17 Jun 2000 12:43:38 -0400
>>> Chris Faylor <cgf@cygnus.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@jaist.ac.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@jaist.ac.jp>
| HOKURIKU School of Information Science
o_/ 1990 Japan Advanced Institute of Science and Technology