This is the mail archive of the cygwin 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]
Other format: [Raw text]

bug when current directory has a trailling dot?


Hello,

I´ve noticed the following problem in accessing Windows executables from
specific directories.

If the current directory has a dot-ended component directory, like
~/x/y./z or
~/x. then some weird things happen (in bash, and in sh, as well):

----------------------------------
$ cd ~/x/y./z
$ /cygdrive/c/Windows/System32/netstat
bash: /cygdrive/c/Windows/System32/netstat: Not a directory

but

$ cd ~/x/y/z
$ /cygdrive/c/Windows/System32/netstat
blah, blah                                                   (its OK)

(it happens with other commands in place of 'netstat' above)

Regards

Heraldo




---------------------------------------------------------
      TRT-PR - Antes de imprimir, pense na sua
responsabilidade e compromisso com o meio ambiente.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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