Eryk Sun <[email protected]> added the comment:
> GetFullPathNameW(path, sizeof(fullPath), That should be sizeof(fullPath) / sizeof(WCHAR), or use Py_ARRAY_LENGTH, or just hard code 8. That's probably not the only mistake. But this is just an example to discuss the details and alternatives. ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue37074> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
