Files
cpython/Python
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-06-11 06:22:31 +00:00
2002-01-23 15:51:12 +00:00
2005-11-09 07:02:40 +00:00
2002-08-15 14:59:02 +00:00
2006-04-25 15:33:48 +00:00
2005-10-03 04:50:55 +00:00
2002-12-30 22:08:05 +00:00
2006-03-01 21:36:32 +00:00
2006-02-27 17:47:02 +00:00
2002-06-11 06:22:31 +00:00
2005-03-28 12:36:19 +00:00
2005-07-09 15:27:05 +00:00
2005-09-14 17:54:39 +00:00