[BUG core 3.4.0-0.875.g07a9a6c21ab3.x86_64]: ls cannot stat() files with long names

Ilya Zakharevich nospam-abuse@ilyaz.org
Sun Dec 18 17:04:19 GMT 2022


To reproduce, do (probably a non-cygwin 7za may be needed)
     7za x long-cyr.zip
     ls -lR t
#        (ZIP FILE attached with a 0-length file in a subdirectory t)

I get a message like

   /usr/bin/ls: cannot access 't/'$'\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217\321\217'' qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq qqqqqqqqqqqqqqqqqqqqqqq. '$'\321\204\321\204\321\204\321\204\321\204\321\204\321\204\321\204\321\204\321\204\321\204\321\204\321\204\321\204\321\204\321\204\321\204\321\204\321\204\321\204\321\204''. (20': No such file or directory


I do not include cygcheck output (it takes too much time to censor the
output; the output pre-update-to-v0.875 is on
     https://cygwin.com/pipermail/cygwin/2022-November/252481.html
).  Let me know if it is really needed in this case.

  uname -a
  CYGWIN_NT-6.1-7601 B** 3.4.0-0.875.g07a9a6c21ab3.x86_64  2022-12-03 16:13 UTC x86_64 Cygwin

Hope this helps,
Ilya
-------------- next part --------------
A non-text attachment was scrubbed...
Name: long-cyr.zip
Type: application/zip
Size: 778 bytes
Desc: not available
URL: <https://cygwin.com/pipermail/cygwin/attachments/20221218/56439e5e/attachment.zip>


More information about the Cygwin mailing list