commit | 50e01570138109584c7f028554eddac7931197fe | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Fri Nov 15 17:35:31 2013 +0100 |
committer | Victor Stinner <victor.stinner@gmail.com> | Fri Nov 15 17:35:31 2013 +0100 |
tree | d9583834c9af176ed9ea5c0dfdf1196f51105f45 | |
parent | b5a7a0aa3f9360a84fd5e96e415af277156d4988 [diff] | |
parent | 2384714819751e975f3ee8c5b57ab1f702e25cac [diff] |
(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.