[issue1128] msilib.Directory.make_short only handles file names with a single dot in them
Christoph Gohlke
report at bugs.python.org
Wed May 12 10:08:34 CEST 2010
Christoph Gohlke <cgohlke at uci.edu> added the comment:
A slightly different patch is attached to issue7639, which generates short names more similar to Windows/NTFS:
http://bugs.python.org/file15898/msilib_make_short.diff
Here are some short names created with the msilib_make_short patch, which are identical to the short names created by the Windows NTFS file system:
foo.txt -> FOO.TXT
foo.2.txt -> FOO2~1.TXT
someLongName.txt -> SOMELO~1.TXT
someLongerName.txt -> SOMELO~2.TXT
For comparison, the msilib-2 patch generates these short names:
foo.txt -> FOO.TXT
foo.2.txt -> FOO.2.TXT <- different from NTFS
someLongName.txt -> SOMELO~1.TXT
someLongerName.txt -> SOMELO~2.TXT
----------
nosy: +cgohlke
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1128>
_______________________________________
More information about the Python-bugs-list
mailing list