diff options
author | asmodai <asmodai@FreeBSD.org> | 2000-10-30 13:39:23 +0000 |
---|---|---|
committer | asmodai <asmodai@FreeBSD.org> | 2000-10-30 13:39:23 +0000 |
commit | 2bc01a1e6220c1c0901e7adfdafa7bb68b041be7 (patch) | |
tree | 8340e0939ff6fe4bfacae16d99a47bcc4eb74c01 /lib/libc | |
parent | 5e2215e426e657107c92f91ad1a9a1438dcf1f6a (diff) | |
download | FreeBSD-src-2bc01a1e6220c1c0901e7adfdafa7bb68b041be7.zip FreeBSD-src-2bc01a1e6220c1c0901e7adfdafa7bb68b041be7.tar.gz |
Correct incorrect information about the PATH used for exec*() calls.
PR: 21990
Partially submitted by: Gerhard Sittig <Gerhard.Sittig@gmx.net>
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/exec.3 | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/libc/gen/exec.3 b/lib/libc/gen/exec.3 index 3399d42..e035640 100644 --- a/lib/libc/gen/exec.3 +++ b/lib/libc/gen/exec.3 @@ -144,10 +144,13 @@ character. The search path is the path specified in the environment by .Dq Ev PATH variable. -If this variable isn't specified, the default path -.Dq Ev /bin:/usr/bin: -is -used. +If this variable isn't specified, +the default path is set according to the +.Dv _PATH_DEFPATH +definition in +.Aq paths.h , +which is set to +.Dq Ev /usr/bin:/bin . In addition, certain errors are treated specially. .Pp If an error is ambiguous (for simplicity, we shall consider all |