From owner-freebsd-current Sat Mar 9 01:41:25 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA05870 for current-outgoing; Sat, 9 Mar 1996 01:41:25 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id BAA05865 for ; Sat, 9 Mar 1996 01:41:21 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id UAA01522; Sat, 9 Mar 1996 20:38:48 +1100 Date: Sat, 9 Mar 1996 20:38:48 +1100 From: Bruce Evans Message-Id: <199603090938.UAA01522@godzilla.zeta.org.au> To: pst@shockwave.com, wosch@cs.tu-berlin.de Subject: Re: _PATH_* Cc: current@FreeBSD.org Sender: owner-current@FreeBSD.org X-Loop: owner-current@FreeBSD.ORG Precedence: bulk >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