mc crash fix when '\n' is in the directory name
Jindrich Novy
jnovy at redhat.com
Fri Oct 29 15:27:48 UTC 2004
Hello,
the following "uglydir" patch prevents mc from hang when it displays
directory with newline '\n' character in the name. As far as I have
tested, mc hangs in this case only in non-UTF-8 mode. The original patch
by Karel Zak. I adapted it for the recent mc CVS version and let it
correct the name only in non-UTF-8 case, otherwise it replaces UTF-8
characters by '?'.
For bug reproduction and testing please see bug #127164.
Jindrich
--
Jindrich Novy <jnovy at redhat.com>, http://people.redhat.com/jnovy/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mc-CVS-uglydir.patch
Type: text/x-patch
Size: 1506 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20041029/403769f0/attachment.bin>
More information about the mc-devel
mailing list