Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Is there any problem with always computing the end of the string as "s + wcslen(s)"? I feel that this is actually more readable than wcschr.
Here is a patch that does that. It doesn't change PC/getpathp.c, since it's only used on Windows, where wcschr works correctly (AFAIK). Henry, can you confirm that this patch still fixes the problem? ---------- keywords: +needs review nosy: +loewis Added file: http://bugs.python.org/file11537/wcslen.diff _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3685> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com