Bug in execvp/execlp
pdac at qtlon.UUCP
pdac at qtlon.UUCP
Sat May 5 13:58:58 AEST 1984
According to the "man" entry, these 2 routines should duplicate the shell's
action in searching for an executable file using the PATH variable. However,
it seems that as well as splitting the pathlist on ':', it also splits on '-'.
This seems to be deliberate from the source code, but neither the boure shell
nor "csh" does it!
I've tried this out on both 4.1bsd and 4.2bsd and they both have the same
problem.
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list