summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-03-13 06:45:38 +0000
committerpeter <peter@FreeBSD.org>1997-03-13 06:45:38 +0000
commit78c59a98a4e978266a66d03b4fee2076d54919db (patch)
tree7031903f6b2156ee9ffe8ab3f5933df444bf7dfd /lib/libc/stdlib
parentf70c2b4238992a82dac18d6f2f58d8c92c9f2466 (diff)
downloadFreeBSD-src-78c59a98a4e978266a66d03b4fee2076d54919db.zip
FreeBSD-src-78c59a98a4e978266a66d03b4fee2076d54919db.tar.gz
Back out a dubious Lite2 change to "optimise" getcwd() to look at $PWD
because it's potentially dangerous (think: symlink races). Move realpath() back to it's original location, and remove getcwd_physical() by renaming it back to getcwd() and zapping the original getcwd wrapper. Noticed by: bde
Diffstat (limited to 'lib/libc/stdlib')
-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 0f083b9..a41c585 100644
--- a/lib/libc/stdlib/Makefile.inc
+++ b/lib/libc/stdlib/Makefile.inc
@@ -6,7 +6,7 @@
SRCS+= abort.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c \
exit.c getenv.c getopt.c getsubopt.c strhash.c heapsort.c labs.c \
ldiv.c malloc.c merge.c putenv.c qsort.c radixsort.c rand.c random.c \
- setenv.c strtod.c strtol.c strtoq.c strtoul.c \
+ realpath.c setenv.c strtod.c strtol.c strtoq.c strtoul.c \
strtouq.c system.c
# machine-dependent stdlib sources
@@ -18,7 +18,7 @@ MAN3+= stdlib/abort.3 stdlib/abs.3 stdlib/alloca.3 stdlib/atexit.3 \
stdlib/getenv.3 stdlib/getopt.3 stdlib/getsubopt.3 stdlib/labs.3 \
stdlib/ldiv.3 stdlib/malloc.3 stdlib/memory.3 stdlib/qsort.3 \
stdlib/radixsort.3 stdlib/rand.3 stdlib/random.3 \
- stdlib/strtod.3 stdlib/strtol.3 stdlib/strtoul.3 \
+ stdlib/realpath.3 stdlib/strtod.3 stdlib/strtol.3 stdlib/strtoul.3 \
stdlib/system.3
MLINKS+=getenv.3 setenv.3 getenv.3 unsetenv.3 getenv.3 putenv.3
OpenPOWER on IntegriCloud