Stefan Krah added the comment:

PATH_MAX seems to be a mess on HP-UX: It's only defined in limits.h
if _INCLUDE_XOPEN_SOURCE_PRE_500 is defined.

But MAXPATHLEN is always defined in sys/param.h, so I suggest to use that
(patch attached).


Other projects take a similar approach by just defining PATH_MAX as 1024:

http://lists.gnu.org/archive/html/bug-gnulib/2011-06/msg00242.html

----------
keywords: +buildbot, patch
nosy: +skrah
Added file: http://bugs.python.org/file27267/issue15835.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15835>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to