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 csernazs, pitrou, skrah
Date 2010-07-13.11:15:47
SpamBayes Score 5.9972905e-08
Marked as misclassified No
Message-id <1279019758.81.0.912910465821.issue9185@psf.upfronthosting.co.za>
In-reply-to
Content
Here's a patch. If PATH_MAX is defined, a static buffer is used. I left
the arbitrary path length version since apparently some systems (HURD)
don't have any limits for PATH_MAX.


In case anyone is mystified how to reproduce the original problem on
OpenSolaris:

# This worked fine:
./python Lib/test/regrtest.py -uall test_posix


# This showed the bug:
./python Lib/test/test_posix.py


The bug could also be reproduced by creating a path name longer than
1024 chars, changing into that directory and attempting to start python.


Antoine, could I ask you to comment on the patch?
History
Date User Action Args
2010-07-13 11:15:58skrahsetrecipients: + skrah, csernazs, pitrou
2010-07-13 11:15:58skrahsetmessageid: <1279019758.81.0.912910465821.issue9185@psf.upfronthosting.co.za>
2010-07-13 11:15:49skrahlinkissue9185 messages
2010-07-13 11:15:48skrahcreate