Files
cpython/Python
Thomas Wouters 1ddba60e3d Define MAXPATHLEN to be at least PATH_MAX, if that's defined. Python uses
MAXPATHLEN-sized buffers for various output-buffers (like to realpath()),
and that's correct on BSD platforms, but not Linux (which uses PATH_MAX, and
does not define MAXPATHLEN.) Cursory googling suggests Linux is following a
newer standard than BSD, but in cases like this, who knows. Using the
greater of PATH_MAX and 1024 as a fallback for MAXPATHLEN seems to be the
most portable solution.
2006-04-25 15:29:46 +00:00
..
2006-04-13 13:08:58 +00:00
2006-04-22 11:40:03 +00:00
2006-04-22 11:40:03 +00:00
2006-04-22 11:40:03 +00:00
2006-04-17 00:33:23 +00:00
2006-04-18 00:57:15 +00:00
2002-12-30 22:08:05 +00:00
2006-04-15 18:14:21 +00:00
2006-02-15 17:27:45 +00:00
2005-07-09 15:26:33 +00:00