This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: find(1) assertion for folder with a sub-folder named `x:'
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 19 Jun 2009 12:19:27 +0200
- Subject: Re: find(1) assertion for folder with a sub-folder named `x:'
- References: <83k5381ra3.fsf@gmail.com>
- Reply-to: cygwin at cygwin dot com
On Jun 19 17:55, Haojun Bao wrote:
> hi,
>
> Here's a test case to make find(1) assertion:
>
> mkdir no-such-dir/foo/bar: -p
>
> #this will not assert
> find no-such-dir/
>
> mkdir no-such-dir/foo/c: -p
I think the right answer here is "don't do that". Don't create files or
directories starting with a single character, followed by a colon. The
problem is that a path starting with "X:" is treated as an absolute
Win32 path.
Right now you cannot have both. Either a path starting with "X:" is
treated as Win32 path, or Cygwin must stop handling Win32 paths at all
and only allow POSIX paths.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
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/