Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com To: cygwin-developers AT sourceware DOT cygnus DOT com Subject: Re: [earnie_boyd AT yahoo DOT com: Re: Wierd mount problem with "latest" release] References: <20000617124338 DOT D952 AT cygnus DOT com> Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII From: Kazuhiro Fujieda Date: 18 Jun 2000 06:23:12 +0900 In-Reply-To: Chris Faylor's message of Sat, 17 Jun 2000 12:43:38 -0400 Message-ID: Lines: 35 X-Mailer: Gnus v5.3/Emacs 19.34 >>> On Sat, 17 Jun 2000 12:43:38 -0400 >>> Chris Faylor 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 * 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 | HOKURIKU School of Information Science o_/ 1990 Japan Advanced Institute of Science and Technology