]> granicus.if.org Git - python/commit
(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)
commit50e01570138109584c7f028554eddac7931197fe
treed9583834c9af176ed9ea5c0dfdf1196f51105f45
parentb5a7a0aa3f9360a84fd5e96e415af277156d4988
parent2384714819751e975f3ee8c5b57ab1f702e25cac
(Merge 3.3) sysmodule.c: fix sys_update_path(), use Py_ARRAY_LENGTH() to get
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.
Python/sysmodule.c