[Python-checkins] cpython: Issue #20597, #21274: Remove unused definition of PATH_MAX on GNU/Hurd,

victor.stinner python-checkins at python.org
Wed Nov 5 15:15:35 CET 2014


https://hg.python.org/cpython/rev/d6fb87972dee
changeset:   93387:d6fb87972dee
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Wed Nov 05 15:13:51 2014 +0100
summary:
  Issue #20597, #21274: Remove unused definition of PATH_MAX on GNU/Hurd,
MAXPATHLEN is now preferred.

files:
  Python/pythonrun.c |  4 ----
  1 files changed, 0 insertions(+), 4 deletions(-)


diff --git a/Python/pythonrun.c b/Python/pythonrun.c
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -34,10 +34,6 @@
 #include "windows.h"
 #endif
 
-#ifdef __gnu_hurd__
-#define PATH_MAX MAXPATHLEN
-#endif
-
 _Py_IDENTIFIER(builtins);
 _Py_IDENTIFIER(excepthook);
 _Py_IDENTIFIER(flush);

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list