summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authordoko@ubuntu.com <doko@ubuntu.com>2014-04-17 17:47:16 (GMT)
committerdoko@ubuntu.com <doko@ubuntu.com>2014-04-17 17:47:16 (GMT)
commit4a173bc4edfbc731f227a84a26eb24b6aef91dd6 (patch)
treee960a4496af35b2aecdf2ab3868750413d1e50a7 /Modules
parenta3818a304327d31b4360dc9b545f2655d27c626e (diff)
downloadcpython-4a173bc4edfbc731f227a84a26eb24b6aef91dd6.zip
cpython-4a173bc4edfbc731f227a84a26eb24b6aef91dd6.tar.gz
cpython-4a173bc4edfbc731f227a84a26eb24b6aef91dd6.tar.bz2
Fixes for KFreeBSD and the Hurd:
- Issue #21274: Define PATH_MAX for GNU/Hurd in Python/pythonrun.c. - Issue #21276: posixmodule: Don't define USE_XATTRS on KFreeBSD and the Hurd. - Issue #21275: Fix a socket test on KFreeBSD.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/posixmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index dc9bd55..8cd5485 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -92,7 +92,7 @@ corresponding Unix manual entries for more information on calls.");
#undef HAVE_SCHED_SETAFFINITY
#endif
-#if defined(HAVE_SYS_XATTR_H) && defined(__GLIBC__)
+#if defined(HAVE_SYS_XATTR_H) && defined(__GLIBC__) && !defined(__FreeBSD_kernel__) && !defined(__GNU__)
#define USE_XATTRS
#endif