> I'm not sure about the intersection of all the ifdefs. Is it possible > to execute the new code in the localmodule on Win32? I was looking at > the first value which is the literal "mbcs", which shouldn't be passed > to free. It's not possible, since there is no langinfo.h on Windows. Even if that was (which may be the case for cygwin, dunno), it will only use nl_langinfo(CODESET), strdup, and free, if it ever found Py_FSDE to be NULL. If you through the code the first time and Py_FSDE is already set, it won't attempt to change it, or free its current value. Since the code appears not to be obvious, I think I shall put a comment into it. Regards, Martin
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4