Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site qtlon.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!houxm!hogpc!houti!ariel!vax135!ukc!qtlon!pdac From: pdac@qtlon.UUCP Newsgroups: net.bugs.4bsd Subject: Bug in execvp/execlp Message-ID: <275@qtlon.UUCP> Date: Fri, 4-May-84 23:58:58 EDT Article-I.D.: qtlon.275 Posted: Fri May 4 23:58:58 1984 Date-Received: Sat, 5-May-84 01:45:10 EDT Organization: Quantime Ltd., London, WC1 Lines: 11 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.