Files
cpython/Include
Thomas Wouters eba52802cd Backport trunk's r45715:
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:33:48 +00:00
..
2002-08-12 07:21:58 +00:00
2003-04-08 18:47:21 +00:00
2002-08-12 07:21:58 +00:00
2002-08-12 07:21:58 +00:00
2002-08-12 07:21:58 +00:00
2006-04-25 15:33:48 +00:00
2006-04-03 17:54:50 +00:00
2002-08-12 07:21:58 +00:00
2002-11-23 09:13:40 +00:00
2005-09-14 17:54:39 +00:00
2004-07-27 15:57:24 +00:00
2005-08-30 10:46:06 +00:00