Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Mar 1996 20:38:48 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        pst@shockwave.com, wosch@cs.tu-berlin.de
Cc:        current@FreeBSD.org
Subject:   Re: _PATH_*
Message-ID:  <199603090938.UAA01522@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>I think these make perfect sense.  You could conceivably have shared versions
>of a /bin program in /usr/bin, which is why this was set this way in the first
>place.  The second is for stupid compatibility, the final colon is curdir,
>as you already knew.  I don't like it, but I don't want to break it either.

>  /* All standard utilities path. */
>  #define	_PATH_STDPATH \
>  	"/usr/bin:/bin:/usr/sbin:/sbin:"

Grepping in /usr/src shows that _PATH_DEFPATH is only used for the
USER_CS_PATH case of sysctl(3).  USER_CS_PATH is only used for
user.cs_path in sysctl(8), for the obsolete confstr(3) and for
whereis(1).  user.cs_path doesn't seem to be used.

I think the final colon shouldn't be there.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603090938.UAA01522>