This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Path processing bug
- From: ericblake at comcast dot net (Eric Blake)
- To: Joe Krahn <jkrahn at nc dot rr dot com>, cygwin at cygwin dot com
- Date: Sun, 21 Aug 2005 22:31:47 +0000
- Subject: Re: Path processing bug
> Cygwin will accept the path "dir/../file" as being the same as "file",
> regardless of whether "dir" exists. Apprently, someone decided that a
> simple path-trimming rule would speed things up, but it is wrong. For
> example, it breaks building of xedit/lisp, where "lisp/../xedit.h" is
> not the same as "xedit.h".
>
> This occurs from bash and tcsh, so it must be in some low-level
> unix-to-win32 path name processing.
I've raised the issue of this bug in the past, and the response
was that fixing it would likely slow down the normal case. I too
would like to see it fixed, because it is contrary to POSIX.
--
Eric Blake
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/