diff options
author | doko@ubuntu.com <doko@ubuntu.com> | 2013-05-15 16:04:50 (GMT) |
---|---|---|
committer | doko@ubuntu.com <doko@ubuntu.com> | 2013-05-15 16:04:50 (GMT) |
commit | bcaddf6382b2e906b47c6c5c8ff849c69abe6441 (patch) | |
tree | 57a18f94010bdce4356bb33bd1d4bfb57d774ec0 | |
parent | 9aed17ff7f800c45e9ee9d344e3a56e284f60169 (diff) | |
parent | ef535584a941c6e5cada828a118a06f5ddf80e86 (diff) | |
download | cpython-bcaddf6382b2e906b47c6c5c8ff849c69abe6441.zip cpython-bcaddf6382b2e906b47c6c5c8ff849c69abe6441.tar.gz cpython-bcaddf6382b2e906b47c6c5c8ff849c69abe6441.tar.bz2 |
- Issue #17754: Make ctypes.util.find_library() independent of the locale.
-rw-r--r-- | Lib/ctypes/util.py | 2 | ||||
-rw-r--r-- | Misc/NEWS | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Lib/ctypes/util.py b/Lib/ctypes/util.py index c427d31..d2c04d2 100644 --- a/Lib/ctypes/util.py +++ b/Lib/ctypes/util.py @@ -92,7 +92,7 @@ elif os.name == "posix": fdout, ccout = tempfile.mkstemp() os.close(fdout) cmd = 'if type gcc >/dev/null 2>&1; then CC=gcc; elif type cc >/dev/null 2>&1; then CC=cc;else exit 10; fi;' \ - '$CC -Wl,-t -o ' + ccout + ' 2>&1 -l' + name + 'LANG=C LC_ALL=C $CC -Wl,-t -o ' + ccout + ' 2>&1 -l' + name try: f = os.popen(cmd) try: @@ -88,6 +88,8 @@ Core and Builtins Library ------- +- Issue #17754: Make ctypes.util.find_library() independent of the locale. + - Issue #17968: Fix memory leak in os.listxattr(). - Issue #17606: Fixed support of encoded byte strings in the XMLGenerator |