Commits

Neal Norwitz  committed bc75c52

Revert 54815 for 2.5.1 release. Can be applied after 2.5 branch is unfrozen.

  • Participants
  • Parent commits d67b5d9
  • Branches 2.5

Comments (0)

Files changed (1)

File PC/getpathp.c

 			   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);