summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/exec.34
-rw-r--r--lib/libc/gen/posix_spawn.34
-rw-r--r--lib/libstand/Makefile5
3 files changed, 7 insertions, 6 deletions
diff --git a/lib/libc/gen/exec.3 b/lib/libc/gen/exec.3
index c9d32b4..0805c62 100644
--- a/lib/libc/gen/exec.3
+++ b/lib/libc/gen/exec.3
@@ -28,7 +28,7 @@
.\" @(#)exec.3 8.3 (Berkeley) 1/24/94
.\" $FreeBSD$
.\"
-.Dd December 12, 2015
+.Dd January 5, 2016
.Dt EXEC 3
.Os
.Sh NAME
@@ -161,7 +161,7 @@ the default path is set according to the
definition in
.In paths.h ,
which is set to
-.Dq Ev /usr/bin:/bin .
+.Dq Ev /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin .
For
.Fn execvP ,
the search path is specified as an argument to the function.
diff --git a/lib/libc/gen/posix_spawn.3 b/lib/libc/gen/posix_spawn.3
index 2c9131b..ebbf05a 100644
--- a/lib/libc/gen/posix_spawn.3
+++ b/lib/libc/gen/posix_spawn.3
@@ -34,7 +34,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd June 17, 2011
+.Dd January 5, 2016
.Dt POSIX_SPAWN 3
.Os
.Sh NAME
@@ -126,7 +126,7 @@ the default path is set according to the
definition in
.In paths.h ,
which is set to
-.Dq Ev /usr/bin:/bin .
+.Dq Ev /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin .
.Pp
If
.Fa file_actions
diff --git a/lib/libstand/Makefile b/lib/libstand/Makefile
index 9d1f6bc..ee8087b 100644
--- a/lib/libstand/Makefile
+++ b/lib/libstand/Makefile
@@ -38,8 +38,9 @@ SRCS+= ntoh.c
# string functions from libc
.PATH: ${LIBC_SRC}/string
-SRCS+= bcmp.c bcopy.c bzero.c ffs.c memccpy.c memchr.c memcmp.c memcpy.c \
- memmove.c memset.c qdivrem.c strcat.c strchr.c strcmp.c strcpy.c \
+SRCS+= bcmp.c bcopy.c bzero.c ffs.c fls.c \
+ memccpy.c memchr.c memcmp.c memcpy.c memmove.c memset.c \
+ qdivrem.c strcat.c strchr.c strcmp.c strcpy.c \
strcspn.c strlcat.c strlcpy.c strlen.c strncat.c strncmp.c strncpy.c \
strpbrk.c strrchr.c strsep.c strspn.c strstr.c strtok.c swab.c
.if ${MACHINE_CPUARCH} == "arm"
OpenPOWER on IntegriCloud