[issue3813] cannot lanch python.exe via symbolic link if HAVE_BROKEN_MBSTOWCS

2008-09-09 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Thanks, fixed in r66338(py3k). -- resolution: accepted -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> _

[issue3813] cannot lanch python.exe via symbolic link if HAVE_BROKEN_MBSTOWCS

2008-09-09 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Your patch is OK for me. Please apply! -- keywords: -needs review resolution: -> accepted ___ Python tracker <[EMAIL PROTECTED]> _

[issue3813] cannot lanch python.exe via symbolic link if HAVE_BROKEN_MBSTOWCS

2008-09-09 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Oh, I misunderstood the reason... readlink() can return non-null-terminated string, so mbstowcs may convert illegual memory area. I've attached py3k_getpath_v3.patch. Added file: http://bugs.python.org/file11437/py3k_getpath_v3.patch

[issue3813] cannot lanch python.exe via symbolic link if HAVE_BROKEN_MBSTOWCS

2008-09-09 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc <[EMAIL PROTECTED]>: -- keywords: +needs review priority: -> deferred blocker ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3813] cannot lanch python.exe via symbolic link if HAVE_BROKEN_MBSTOWCS

2008-09-09 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> 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 s

[issue3813] cannot lanch python.exe via symbolic link if HAVE_BROKEN_MBSTOWCS

2008-09-09 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file11433/py3k_getpath_v2.patch ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3813] cannot lanch python.exe via symbolic link if HAVE_BROKEN_MBSTOWCS

2008-09-09 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>: On cygwin, py3k aborts if lanches it via symbolic link. message beg / Could not find platform independent libraries Could not find platform dependent libraries Consider setting $PYTHONHOME to [:] F