Re: directories named '...' (dotdotdot) do not work

2011-02-03 Thread Corinna Vinschen
On Feb 3 06:38, Ralf Wildenhues wrote: > Hello, and thanks for investigating this, > > > On 02/02/2011 02:53 PM, Corinna Vinschen wrote: > > > Given that it works fine on Vista and Windows 7 anyway, is it really > > > worth to add this extra code just to support an old OS in a very rare > > > sit

Re: directories named '...' (dotdotdot) do not work

2011-02-02 Thread Ralf Wildenhues
Hello, and thanks for investigating this, > On 02/02/2011 02:53 PM, Corinna Vinschen wrote: > > Given that it works fine on Vista and Windows 7 anyway, is it really > > worth to add this extra code just to support an old OS in a very rare > > situation? FWIW, not for me. I was merely trying to

Re: directories named '...' (dotdotdot) do not work

2011-02-02 Thread Corinna Vinschen
On Feb 2 23:11, Corinna Vinschen wrote: > On Feb 2 15:01, Eric Blake wrote: > > On 02/02/2011 02:53 PM, Corinna Vinschen wrote: > > > [...] > > > To fix that, we would have to scan the entire path for path components > > > which contain leading spaces or trailing dots or spaces. That makes > > >

Re: directories named '...' (dotdotdot) do not work

2011-02-02 Thread Corinna Vinschen
On Feb 2 15:01, Eric Blake wrote: > [re-adding Ralf, in case he's not subscribed] > > On 02/02/2011 02:53 PM, Corinna Vinschen wrote: > >> No, I'm using tcsh. Apparently you're right, it doesn't work in > >> XP, but it works in W7. Looks like Microsoft reworked the CreateProcess > >> call at so

Re: directories named '...' (dotdotdot) do not work

2011-02-02 Thread Corinna Vinschen
On Feb 2 22:55, Christian Franke wrote: > Corinna Vinschen wrote: > > > >Btw., the "..." directory is not recognized at all by cmd.exe. If you > >try to cd into it, it's simply ignored. If you set the CWD to it > >and start cmd, cmd thinks it is in the parent directory. This occurs > >on XP *an

Re: directories named '...' (dotdotdot) do not work

2011-02-02 Thread Eric Blake
[re-adding Ralf, in case he's not subscribed] On 02/02/2011 02:53 PM, Corinna Vinschen wrote: >> No, I'm using tcsh. Apparently you're right, it doesn't work in >> XP, but it works in W7. Looks like Microsoft reworked the CreateProcess >> call at some point. I have an idea how this might be pos

Re: directories named '...' (dotdotdot) do not work

2011-02-02 Thread Christian Franke
Corinna Vinschen wrote: Btw., the "..." directory is not recognized at all by cmd.exe. If you try to cd into it, it's simply ignored. If you set the CWD to it and start cmd, cmd thinks it is in the parent directory. This occurs on XP *and* W7. At least on XP cmd and others could not be

Re: directories named '...' (dotdotdot) do not work

2011-02-02 Thread Corinna Vinschen
On Feb 2 22:28, Corinna Vinschen wrote: > On Feb 2 13:56, Eric Blake wrote: > > On 02/02/2011 01:45 PM, Corinna Vinschen wrote: > > > Works fine for me: > > > > > > $ uname -a > > > CYGWIN_NT-6.1 vmbert7 1.7.7(0.230/5/3) 2010-08-31 09:58 i686 Cygwin > > > $ cd tmp > > > $ mkdir ... > > >

Re: directories named '...' (dotdotdot) do not work

2011-02-02 Thread Corinna Vinschen
On Feb 2 22:28, Corinna Vinschen wrote: > On Feb 2 13:56, Eric Blake wrote: > > On 02/02/2011 01:45 PM, Corinna Vinschen wrote: > > > Works fine for me: > > > > > > $ uname -a > > > CYGWIN_NT-6.1 vmbert7 1.7.7(0.230/5/3) 2010-08-31 09:58 i686 Cygwin > > > $ cd tmp > > > $ mkdir ... > > >

Re: directories named '...' (dotdotdot) do not work

2011-02-02 Thread Corinna Vinschen
On Feb 2 13:56, Eric Blake wrote: > On 02/02/2011 01:45 PM, Corinna Vinschen wrote: > > Works fine for me: > > > > $ uname -a > > CYGWIN_NT-6.1 vmbert7 1.7.7(0.230/5/3) 2010-08-31 09:58 i686 Cygwin > > $ cd tmp > > $ mkdir ... > > $ cd ... > > $ cp /usr/bin/ls.exe . > > $ ./ls > >

Re: directories named '...' (dotdotdot) do not work

2011-02-02 Thread Andrew DeFaria
On 02/02/2011 04:13 PM, Lee Rothstein wrote: On 2/2/2011 3:51 PM, marco atzeri wrote: > On Wed, Feb 2, 2011 at 9:45 PM, Corinna Vinschen wrote: >> On Feb 1 19:37, Ralf Wildenhues wrote: >>> The following fails for me (and web and list search haven't been helpful): >>> $ mkdir ... >>> $ cd

Re: directories named '...' (dotdotdot) do not work

2011-02-02 Thread Lee Rothstein
On 2/2/2011 3:51 PM, marco atzeri wrote: > On Wed, Feb 2, 2011 at 9:45 PM, Corinna Vinschen wrote: >> On Feb 1 19:37, Ralf Wildenhues wrote: >>> The following fails for me (and web and list search haven't been helpful): >>> $ mkdir ... >>> $ cd ... >>> $ cp /usr/bin/ls.exe . >>> $ ./ls.exe

Re: directories named '...' (dotdotdot) do not work

2011-02-02 Thread Eric Blake
On 02/02/2011 01:45 PM, Corinna Vinschen wrote: > Works fine for me: > > $ uname -a > CYGWIN_NT-6.1 vmbert7 1.7.7(0.230/5/3) 2010-08-31 09:58 i686 Cygwin > $ cd tmp > $ mkdir ... > $ cd ... > $ cp /usr/bin/ls.exe . > $ ./ls > ls.exe > > I tried on NTFS, Samba and NFS. Difference

Re: directories named '...' (dotdotdot) do not work

2011-02-02 Thread marco atzeri
On Wed, Feb 2, 2011 at 9:45 PM, Corinna Vinschen wrote: > On Feb  1 19:37, Ralf Wildenhues wrote: >> Hello Cygwin developers, >> >> The following fails for me (and web and list search haven't been helpful): >> >> $ mkdir ... >> $ cd ... >> $ cp /usr/bin/ls.exe . >> $ ./ls.exe >> bash: ./ls.exe: No

Re: directories named '...' (dotdotdot) do not work

2011-02-02 Thread Corinna Vinschen
On Feb 1 19:37, Ralf Wildenhues wrote: > Hello Cygwin developers, > > The following fails for me (and web and list search haven't been helpful): > > $ mkdir ... > $ cd ... > $ cp /usr/bin/ls.exe . > $ ./ls.exe > bash: ./ls.exe: No such file or directory > > Same with code compiled in this direc

directories named '...' (dotdotdot) do not work

2011-02-02 Thread Ralf Wildenhues
Hello Cygwin developers, The following fails for me (and web and list search haven't been helpful): $ mkdir ... $ cd ... $ cp /usr/bin/ls.exe . $ ./ls.exe bash: ./ls.exe: No such file or directory Same with code compiled in this directory. Is this a bug or by design? This is from an Automake t