[Python-checkins] r54837 - python/branches/release25-maint/PC/getpathp.c (original) (raw)

neal.norwitz python-checkins at python.org
Mon Apr 16 08:19:34 CEST 2007


Author: neal.norwitz Date: Mon Apr 16 08:19:32 2007 New Revision: 54837

Modified: python/branches/release25-maint/PC/getpathp.c Log: Revert 54815 for 2.5.1 release. Can be applied after 2.5 branch is unfrozen.

Modified: python/branches/release25-maint/PC/getpathp.c

--- python/branches/release25-maint/PC/getpathp.c (original) +++ python/branches/release25-maint/PC/getpathp.c Mon Apr 16 08:19:32 2007 @@ -650,7 +650,7 @@ 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);



More information about the Python-checkins mailing list