This is the mail archive of the cygwin@sourceware.cygnus.com 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]

Re: cd ....


On Fri, Jul 07, 2000 at 02:01:31AM +0900, Yukihiko Sohda wrote:
>Hi,
>
>I reports a trivial(?) bug.
>"cd" accepts illegal path like this.
>
>[/]cd ...
>[/...]cd ..
>[/]cd ...
>[/...]cd ...
>[/.../...]cd ..
>[/.../.../..]cd /
>[/]cd ...........
>[/...........]pwd
>/...........
>[/...........]
>
>I examined this with the following cygwin1.dll,
>and got the similar result.
>
>- CYGWIN_NT-5.0 WOODSTOCK 1.1.2(0.21/3/2) 2000-06-06 22:20 i686 unknown
>- CYGWIN_NT-5.0 WOODSTOCK 1.1.3s(0.24/3/2) 2000-07-04 23:55 i686 unknown

Have you tried the same thing with Windows?  Windows accepts these paths.

I don't want to add a check in the already overburdened path handling code
just to stop somebody from doing something that is valid on Windows.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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