This is the mail archive of the cygwin@cygwin.com 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]

bash bug report? Minor border case:


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



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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