This is the mail archive of the
mailing list for the Cygwin project.
RE: cygpath -s behaviour
- From: "Watts, Simon (UK)" <swatts at northgrum-it dot eu dot com>
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Date: Fri, 6 Sep 2002 15:12:11 +0100
- Subject: RE: cygpath -s behaviour
Version information is as follows (pretty recent AFAIK)...
Windows NT 4.0 /sp6
cygpath version 1.21
cygwin 1.3.12-2 (CVS: cygwin-1-3-12-1)
Testing (bash 2.05a.0(3)) (prompt='#')...
# cygpath -ws long_name_doesnt_exist
# cygpath -ms long_name_doesnt_exist || echo FAIL
# cygpath -ms long_name_doesnt_exist && echo FAIL
Cygpath does not appear to be writing to stderr, or exiting
with an error code.
Since I am using a wrapper (shell) function to cygpath anyway,
I have put a check in there. I am also ensuring that I am only
passing existing dirs structures (it would be an error in my
script to have passed the to-be filename, since it could then
have been constructed with a mangled name rather than the
correct long form!).
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html