From 2bc01a1e6220c1c0901e7adfdafa7bb68b041be7 Mon Sep 17 00:00:00 2001 From: asmodai Date: Mon, 30 Oct 2000 13:39:23 +0000 Subject: Correct incorrect information about the PATH used for exec*() calls. PR: 21990 Partially submitted by: Gerhard Sittig --- lib/libc/gen/exec.3 | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'lib/libc') 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 -- cgit v1.1