diff options
author | Georg Brandl <georg@python.org> | 2008-01-07 17:25:53 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-01-07 17:25:53 (GMT) |
commit | aed6c66aa8c9d1d2af9e60323e688452dfd6b6c7 (patch) | |
tree | 6abfefda54d125aa2c86b8be5cc6f4e6576308e0 /Python | |
parent | 2da0fceba7dd70334aacbab0708a8cbdff92e31d (diff) | |
download | cpython-aed6c66aa8c9d1d2af9e60323e688452dfd6b6c7.zip cpython-aed6c66aa8c9d1d2af9e60323e688452dfd6b6c7.tar.gz cpython-aed6c66aa8c9d1d2af9e60323e688452dfd6b6c7.tar.bz2 |
patch #1668: clarify envvar docs; rename THREADDEBUG to PYTHONTHREADDEBUG.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/import.c | 2 | ||||
-rw-r--r-- | Python/thread.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Python/import.c b/Python/import.c index 8094f7d..d9550f5 100644 --- a/Python/import.c +++ b/Python/import.c @@ -1630,7 +1630,7 @@ case_ok(char *buf, Py_ssize_t len, Py_ssize_t namelen, char *name) FILEFINDBUF3 ffbuf; APIRET rc; - if (getenv("PYTHONCASEOK") != NULL) + if (Py_GETENV("PYTHONCASEOK") != NULL) return 1; rc = DosFindFirst(buf, diff --git a/Python/thread.c b/Python/thread.c index 3a2c7af..9a4dc25 100644 --- a/Python/thread.c +++ b/Python/thread.c @@ -79,7 +79,7 @@ void PyThread_init_thread(void) { #ifdef Py_DEBUG - char *p = getenv("THREADDEBUG"); + char *p = Py_GETENV("PYTHONTHREADDEBUG"); if (p) { if (*p) |