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]

Incorrect output from cygpath --path --unix for long path


If I run this command:

cygpath --path --unix "/cygdrive/c/fop-1.0/lib/xmlgraphics-commons-1.4.jar;/cygdrive/c/fop-1.0/lib/xml-apis-ext-1.3.04.jar;/cygdrive/c/fop-1.0/lib/xml-apis-1.3.04.jar;/cygdrive/c/fop-1.0/lib/xercesImpl-2.7.1.jar;/cygdrive/c/fop-1.0/lib/xalan-2.7.0.jar;/cygdrive/c/tellmeiamtoolongah"

I get the following output (current working directory is /cygdrive/e; pay particular attention to the first 13 characters):


Interestingly, running the same from /cygdrive/c gives the following (the second e has become a c):

Drop one character off the end of the input (remove the final h) and the output is what is expected.

I saw a very old report (2002) of something somewhat similar, but the corruption was at the end of the output. I also saw a complaint about getting an error message "File or path name too long", but I am not getting any error message. As far as I can tell, this is not a known issue nor expected behavior.


Attachment: cygcheck.out
Description: Text document

Problem reports:
Unsubscribe info:

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