Staging
v0.8.1
https://github.com/python/cpython
Revision b6e835c5487d49c1495ff9c500b3c5318b0c4156 authored by Guido van Rossum on 04 September 2002, 11:41:51 UTC, committed by Guido van Rossum on 04 September 2002, 11:41:51 UTC
Fix for SF bug 601077 by Zack Weinberg.

The new execvpe code would sometimes do the wrong thing when a
non-executable file existed earlier in the path and an executable file
of the same name existed later in the path.  This patch restores the
proper behavior (which is to execute the second file).  When only a
non-executable file exists, the correct error is still reported.
1 parent 344f425
History
Tip revision: b6e835c5487d49c1495ff9c500b3c5318b0c4156 authored by Guido van Rossum on 04 September 2002, 11:41:51 UTC
Backport:
Tip revision: b6e835c

README

back to top