mirror of
https://github.com/python/cpython.git
synced 2026-01-29 02:32:18 +00:00
Revert 54815 for 2.5.1 release. Can be applied after 2.5 branch is unfrozen.
This commit is contained in:
parent
16b7b53ad0
commit
a4ff44aa26
1 changed files with 1 additions and 1 deletions
|
|
@ -650,7 +650,7 @@ calculate_path(void)
|
|||
start of the path in question - even if this
|
||||
is one character before the start of the buffer
|
||||
*/
|
||||
while (look >= module_search_path && *look != DELIM)
|
||||
while (*look != DELIM && look >= module_search_path)
|
||||
look--;
|
||||
nchars = lookEnd-look;
|
||||
strncpy(lookBuf, look+1, nchars);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue