Fix path_lookup() when the program to invoke contains a slash.
commit10c1047e091e93854a5df231b4bf6b2ebdc51d41
authorJohannes Sixt <johannes.sixt@telecom.at>
Wed, 24 Jan 2007 17:48:14 +0000 (24 18:48 +0100)
committerJohannes Sixt <johannes.sixt@telecom.at>
Wed, 24 Jan 2007 17:48:59 +0000 (24 18:48 +0100)
treec36a6eca7651a6bf30b6d9145366dcb4ea0f78c9
parent2033ba137a361d0d36c644de45e3d01578a4b77c
Fix path_lookup() when the program to invoke contains a slash.

In this case, no path lookup actually takes place, and the returned
program name is equal to the passed in program name. But this code
path contained a thinko that crashed.
spawn-pipe.c