commit | 2384714819751e975f3ee8c5b57ab1f702e25cac | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Fri Nov 15 17:33:43 2013 +0100 |
committer | Victor Stinner <victor.stinner@gmail.com> | Fri Nov 15 17:33:43 2013 +0100 |
tree | d1f4f04dec588bdc17c71f16a612790e0e7afc0a | |
parent | 2f5bbc6a123dfb36ed1f89e9016ec356695bdd8a [diff] |
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.