This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skrah
Recipients skrah, trent
Date 2012-09-23.17:58:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1348423087.38.0.161033177346.issue15835@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2012-09-23 17:58:07skrahsetrecipients: + skrah, trent
2012-09-23 17:58:07skrahsetmessageid: <1348423087.38.0.161033177346.issue15835@psf.upfronthosting.co.za>
2012-09-23 17:58:06skrahlinkissue15835 messages
2012-09-23 17:58:06skrahcreate