]> granicus.if.org Git - python/commitdiff
(Merge 3.3) sysmodule.c: fix sys_update_path(), use Py_ARRAY_LENGTH() to get
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 15 Nov 2013 16:35:31 +0000 (17:35 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 15 Nov 2013 16:35:31 +0000 (17:35 +0100)
the size of the fullpath buffer, not PATH_MAX. fullpath is declared using
MAXPATHLEN or MAX_PATH depending on the OS, and PATH_MAX is not declared on
IRIX.

1  2 
Python/sysmodule.c

Simple merge