the reason why this is broken is that previously the mangling for long
names was done when count reached zero in the TranslateToDos loop ...
however, now the buffer is cut before the loop so the count is useless
there ...

a cleaner approach than your patch would be to also deal with the !end
case in native_to_wchar - which seems to do this already for end != 0
...

Same patch should probably also drop the count business from the
TranslateToDos loop.

-- 
mtools truncates short filenames in a way that can cause conflicts
https://bugs.launchpad.net/bugs/481482
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to