From: "Heraldo Maciel França Madeira" <heraldomadeira@trt9.jus.br>
To: Cygwin@cygwin.com
Subject: bug when current directory has a trailling dot?
Date: Fri, 01 Apr 2011 19:13:00 -0000 [thread overview]
Message-ID: <318c5bae4eaf30595c8f54a8325ddd98.squirrel@correio.trt9.jus.br> (raw)
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
next reply other threads:[~2011-04-01 19:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-01 19:13 Heraldo Maciel França Madeira [this message]
2011-04-01 19:23 ` Corinna Vinschen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=318c5bae4eaf30595c8f54a8325ddd98.squirrel@correio.trt9.jus.br \
--to=heraldomadeira@trt9.jus.br \
--cc=Cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).