bash bug report? Minor border case:

linda w (cyg) cygwin@tlinx.org
Sun Mar 30 00:06:00 GMT 2003


Valid filename created by app:
\Documents and Settings\law\My
Documents\win\registry2\regtweaks\Kellys_XP_Tweaks\download.com.com\clear\redx\c.gif-ts=-104976066&edId=3&prtnr=CNET+Networks,+Inc.&
oid=3000-2094-10126096&ptId=3000&onId=2094&sId=4&asId=10126096&pId=10126096&asType=Product

exactly 255 characters long.

Unfortunately, there is a bit of a 'normalization problem'.

If one does a 'updatedb', it complains that "C:\\Documents and Settings\law\My
Documents\win\registry2\regtweaks\Kellys_XP_Tweaks\download.com.com\clear\redx\c.gif-ts=-104976066&edId=3&prtnr=CNET+Networks,+Inc.&
oid=3000-2094-10126096&ptId=3000&onId=2094&sId=4&asId=10126096&pId=10126096&asType=Product"

is too long a filename (and at 258 characters, it is), however if
it were normalized to either cygwin (using native normalization
semantics) to either the above w/o "C:\" or just "/c/Doc..." then
it should work.

Similar bug is in 'cmd.exe' (XP), but at least in "bash", you can
put double quotes  around the string and it will work with 'ls'.

Not sure of the best way to address it, but believe it or not I
have 3 files with such weird names.

-linda




More information about the Cygwin-apps mailing list