Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Here is an updated patch: - changed #ifndef into #ifdef. The "broken" case comes first now. - check that the second call to mbstowcs does not fail. - also, changed an assert, since strlen() does not always count the exact number of chars.
I won't have SVN access for the next couple of days (behind a firewall...) Antoine (or someone else), can you please check this in? Added file: http://bugs.python.org/file11360/mbstowcs-2.patch _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3696> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com