diff options
author | msmith <msmith@FreeBSD.org> | 1998-09-26 01:42:40 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 1998-09-26 01:42:40 +0000 |
commit | ea783268e73e47b0c3012339d1e278e7045e2305 (patch) | |
tree | 622472325886767e4a3905d55b5180ea188a7e99 /lib/libstand/Makefile | |
parent | 73ca5cb35b01711ebbbdbdc1d00d3f320d0a852c (diff) | |
download | FreeBSD-src-ea783268e73e47b0c3012339d1e278e7045e2305.zip FreeBSD-src-ea783268e73e47b0c3012339d1e278e7045e2305.tar.gz |
Replace the old and extremely icky Mach/NetBSD allocator with a similarly
compact and much better one donated by Matt Dillon. Implement a simple
sbrk() which uses the existing setheap() api.
Remove the custom allocator from the UFS code. It wasn't working quite
right, and it shouldn't be needed with the new allocator.
Fix a serious problem with changing the value of already-existent
environment variables. Don't attempt to modify the supposedly-const
argument to putenv()
Fix an off-by-one sizing error in the zipfs code detected by the new
allocator.
Submitted by: zmalloc from Matt Dillon <dillon@backplane.com>
Diffstat (limited to 'lib/libstand/Makefile')
-rw-r--r-- | lib/libstand/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/libstand/Makefile b/lib/libstand/Makefile index fee2187..38caa1c 100644 --- a/lib/libstand/Makefile +++ b/lib/libstand/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.2 1998/08/20 08:23:12 msmith Exp $ +# $Id: Makefile,v 1.3 1998/09/15 02:30:22 msmith Exp $ # # Originally from $NetBSD: Makefile,v 1.21 1997/10/26 22:08:38 lukem Exp $ # @@ -13,16 +13,17 @@ NOPIC= YES MAN3= libstand.3 # Mostly OK, some of the libc imports are a bit noisy -CFLAGS+= -Wall +CFLAGS+= -Wall -g .if ${MACHINE_ARCH} == "alpha" CFLAGS+= -mno-fp-regs .endif # standalone components and stuff we have modified locally -SRCS+= __main.c alloc.c bcd.c bswap.c environment.c getopt.c gets.c \ - globals.c pager.c printf.c strdup.c strerror.c strtol.c random.c \ - twiddle.c +SRCS+= __main.c bcd.c bswap.c environment.c getopt.c gets.c globals.c \ + pager.c printf.c strdup.c strerror.c strtol.c random.c sbrk.c \ + twiddle.c zalloc.c zalloc_malloc.c + # string functions from libc .PATH: ${.CURDIR}/../libc/string |