summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-04-16 12:23:43 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2010-04-16 12:23:43 (GMT)
commit6f7adcc58ef52a06f3863fe10ce5f6a7ffc357b6 (patch)
tree0f7b43c3960aa67dc5ad3504f97752ad59a70250 /Modules/posixmodule.c
parentfebecd82762477728ae98580b912ab17981770ff (diff)
downloadcpython-6f7adcc58ef52a06f3863fe10ce5f6a7ffc357b6.zip
cpython-6f7adcc58ef52a06f3863fe10ce5f6a7ffc357b6.tar.gz
cpython-6f7adcc58ef52a06f3863fe10ce5f6a7ffc357b6.tar.bz2
Add CS_GNU_LIBC_VERSION and CS_GNU_LIBPTHREAD_VERSION constants for constr(),
and disable test_execvpe_with_bad_program() of test_os if the libc uses linuxthreads to avoid the "unknown signal 32" bug (see issue #4970).
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r--Modules/posixmodule.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index fb22eb6..7ba7b26 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -6127,6 +6127,12 @@ static struct constdef posix_constants_confstr[] = {
#ifdef _MIPS_CS_VENDOR
{"MIPS_CS_VENDOR", _MIPS_CS_VENDOR},
#endif
+#ifdef _CS_GNU_LIBC_VERSION
+ {"CS_GNU_LIBC_VERSION", _CS_GNU_LIBC_VERSION},
+#endif
+#ifdef _CS_GNU_LIBPTHREAD_VERSION
+ {"CS_GNU_LIBPTHREAD_VERSION", _CS_GNU_LIBPTHREAD_VERSION},
+#endif
};
static int