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.
This commit is contained in:
doko@ubuntu.com 2014-04-17 19:47:16 +02:00
parent a3818a3043
commit 4a173bc4ed
4 changed files with 15 additions and 2 deletions

View file

@ -35,6 +35,10 @@
#define PATH_MAX MAXPATHLEN
#endif
#ifdef __gnu_hurd__
#define PATH_MAX MAXPATHLEN
#endif
_Py_IDENTIFIER(builtins);
_Py_IDENTIFIER(excepthook);
_Py_IDENTIFIER(flush);