[issue3813] cannot lanch python.exe via symbolic link if HAVE_BROKEN_MBSTOWCS
Amaury Forgeot d'Arc
report at bugs.python.org
Tue Sep 9 14:29:37 CEST 2008
Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:
http://man.he.net/man3/readlink says: "Conforming applications should
not assume that the returned contents of the symbolic link are
null-terminated"
cygwin is not broken, but very (too much?) conforming in this case ;-)
I think your second patch is the correct one, just keep the "return
(int)r1;" because the return value is stored in a "linklen" variable.
----------
nosy: +amaury.forgeotdarc
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3813>
_______________________________________
More information about the Python-bugs-list
mailing list