Hi, after updating from cygwin 1.5.19-4 to 1.5.21-1 cygpath seems to show a bug when called with the --long-name (or -l) option: Assuming that the filename "12345678901234567890" does NOT exist in the current dir, cygpath shows the following output:
$ cygpath -m -l 12345678901234567890 123456789012# $ cygpath -w -l 12345678901234567890 123456789012xx 7890 ^^ not printable characters $ cygpath -w 12345678901234567890 12345678901234567890 $ cygpath -u 12345678901234567890 12345678901234567890 $ touch 12345678901234567890 $ cygpath -w -l 12345678901234567890 12345678901234567890 $ rm 12345678901234567890 $ cygpath -w -l 12345678901234567890 123456789012xx 7890 ^^ not printable characters i.e., as long as the file name does not exist and exceeds a certain length, it gets scrambled with the -l option. Without the -l option, in posix format, or if the file exists, the output is fine. Can you confirm this bug? Is there a workaround? Matthias. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/