]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
sysmodule.c: fix sys_update_path(), use Py_ARRAY_LENGTH() to get the size of
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 15 Nov 2013 16:33:43 +0000 (17:33 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 15 Nov 2013 16:33:43 +0000 (17:33 +0100)
commit2384714819751e975f3ee8c5b57ab1f702e25cac
treed1f4f04dec588bdc17c71f16a612790e0e7afc0a
parent2f5bbc6a123dfb36ed1f89e9016ec356695bdd8a
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