Apparent bug in 'make': hyphen treated as delimiter in $PATH

Guy Harris guy at rlgvax.UUCP
Fri Jan 18 14:56:40 AEST 1985


> (A mention of the SVR2's "make" having a version of "execvp" which treats
> '-' as well as ':' as separators in $PATH, which causes nasty problems
> with directories whose names contain hyphens)

This problem also exists in the 4.2BSD version of "execvp" in the standard
C library.  I suspect it's a holdover from some old (pre-V7) system which
used '-' instead of ':' as a separator, and hasn't been completely expunged
from the system yet.  Beware - it may still be hiding somewhere...

	Guy Harris
	{seismo,ihnp4,allegra}!rlgvax!guy



More information about the Comp.bugs.4bsd.ucb-fixes mailing list