This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] normalize_posix_path and c:/foo/bar


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]