summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/Makefile.inc
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2009-06-03 15:52:16 +0000
committermillert <millert@openbsd.org>2009-06-03 15:52:16 +0000
commit471b62eeaa7f3a18c0aa98b5d605e5cec1625b62 (patch)
tree4b3e2d396ac12f089089348501e828ed4ada2055 /lib/libc/stdlib/Makefile.inc
parentAdd a section summarising the status line. There are quite a number of status (diff)
downloadwireguard-openbsd-471b62eeaa7f3a18c0aa98b5d605e5cec1625b62.tar.xz
wireguard-openbsd-471b62eeaa7f3a18c0aa98b5d605e5cec1625b62.zip
Make putenv(), setenv() and unsetenv() standards compliant. The
standard explicitly disallows passing setenv a name with a '=' in it but historic BSD behavior is to allow this but to ignore the '=' and anything after it.
Diffstat (limited to 'lib/libc/stdlib/Makefile.inc')
-rw-r--r--lib/libc/stdlib/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdlib/Makefile.inc b/lib/libc/stdlib/Makefile.inc
index c149aeef0a1..3b9b36a1ed8 100644
--- a/lib/libc/stdlib/Makefile.inc
+++ b/lib/libc/stdlib/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.41 2008/09/13 22:48:45 martynas Exp $
+# $OpenBSD: Makefile.inc,v 1.42 2009/06/03 15:52:16 millert Exp $
# stdlib sources
.PATH: ${LIBCSRCDIR}/arch/${MACHINE_ARCH}/stdlib ${LIBCSRCDIR}/stdlib
@@ -6,7 +6,7 @@
SRCS+= a64l.c abort.c atexit.c atoi.c atof.c atol.c atoll.c bsearch.c \
cfree.c exit.c ecvt.c gcvt.c getenv.c getopt_long.c \
getsubopt.c hcreate.c heapsort.c imaxabs.c imaxdiv.c l64a.c llabs.c \
- lldiv.c lsearch.c malloc.c merge.c putenv.c qsort.c radixsort.c rand.c \
+ lldiv.c lsearch.c malloc.c merge.c qsort.c radixsort.c rand.c \
random.c realpath.c setenv.c strtoimax.c strtol.c \
strtoll.c strtonum.c strtoul.c strtoull.c strtoumax.c system.c \
tfind.c tsearch.c _rand48.c drand48.c erand48.c jrand48.c lcong48.c \