Files
cpython/Modules
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
..
2004-08-03 07:06:22 +00:00
2005-08-30 10:46:06 +00:00
2005-06-15 13:38:07 +00:00
2006-01-10 07:08:06 +00:00
2006-03-07 12:08:42 +00:00
2004-07-02 18:57:45 +00:00
2006-03-20 02:05:58 +00:00
2002-07-17 16:30:39 +00:00
2006-03-14 06:47:07 +00:00
2003-07-08 21:17:25 +00:00
2006-02-05 06:00:54 +00:00
2005-08-26 12:50:37 +00:00
2006-04-25 15:33:48 +00:00
2002-08-07 16:21:51 +00:00
2002-10-30 21:08:34 +00:00
2002-07-17 16:30:39 +00:00
2005-09-23 08:14:40 +00:00
2006-03-15 05:44:35 +00:00