This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: [PATCH] normalize_posix_path and c:/foo/bar
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Sun, 16 Mar 2008 16:15:57 +0100
- Subject: Re: [PATCH] normalize_posix_path and c:/foo/bar
- References: <47DCCAFF.36C14CB@dessent.net>
- Reply-to: cygwin-patches at cygwin dot com
On Mar 16 00:23, Brian Dessent wrote:
> There's a small buglet in normalize_posix_path in that it doesn't see
> c:/foo/bar type paths as being win32 and so it treats them as a relative
> path and prepends cwd.
Actually that was intended, but unfortunately the current path handling
deliberately creates DOS paths with slashes (in find_exec) right now,
so that doesn't work ATM.
> that exposed this was insight failing to load because some of the tcl
> parts use win32 paths, but really a reduced testcase is simply
> open("c:/cygwin/bin/ls.exe", O_RDONLY) = ENOENT.
Yeah, I *wished* that c:foo and c:/foo are treated as relative posix
paths, and the above open is just not doing the right thing, but...
see above. I fixed that already in CVS two days ago:
http://cygwin.com/ml/cygwin-cvs/2008-q1/msg00121.html
Thanks anyway,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat