Patch to allow trailing dots on managed mounts

Richard Campbell richard.campbell@air2web.com
Fri Dec 17 18:42:00 GMT 2004


cgf wrote:
>
>It does seem to allow
>dir c:\cygwin\bin.\ls.exe

The following succeed (windows 2000):
dir c:\cygwin\bin\ls.exe
dir c:\cygwin\bin.\ls.exe
dir c:\cygwin\bin..\ls.exe
dir c:\cygwin\bin\ls.exe.
dir c:\cygwin\bin\ls.exe..
dir c:\cygwin\bin\ls.exe...
dir c:\cygwin\bin\ls.exe....
dir c:\cygwin.\bin\ls.exe
dir c:\cygwin.\bin.\ls.exe
dir c:\cygwin.\bin..\ls.exe
dir c:\cygwin.\bin.\ls.exe....

The following fail:
dir c:\cygwin..\bin\ls.exe
dir c:\cygwin.\bin...\ls.exe

Strangely inconsistent about the number of dots based on 
position in a path.

-Richard Campbell.



More information about the Cygwin-patches mailing list