Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.bin/make

Module Name:    src
Committed By:   joerg
Date:           Mon Oct  6 22:09:22 UTC 2008

Modified Files:
        src/usr.bin/make: Makefile arch.c buf.c dir.c for.c hash.c job.c main.c
            nonints.h parse.c str.c suff.c targ.c util.c var.c
        src/usr.bin/make/lst.lib: lstInt.h

Log Message:
Don't use emalloc and friends directly, but call them consistently
bmake_malloc and friends. Implement them via macros for the native case
and provide fallback implementations otherwise. Avoid polluting the
namespace by not defining enomem globally. Don't bother to provide
strdup and strndup, they were only used for the estrdup and estrndup
comapt code.

This addresses the presence of emalloc in system libraries on A/UX and
resulted strange issues as reported by Timothy E. Larson.

To generate a diff of this commit:
cvs rdiff -r1.43 -r1.44 src/usr.bin/make/Makefile
cvs rdiff -r1.55 -r1.56 src/usr.bin/make/arch.c src/usr.bin/make/dir.c
cvs rdiff -r1.21 -r1.22 src/usr.bin/make/buf.c
cvs rdiff -r1.29 -r1.30 src/usr.bin/make/for.c
cvs rdiff -r1.16 -r1.17 src/usr.bin/make/hash.c
cvs rdiff -r1.139 -r1.140 src/usr.bin/make/job.c
cvs rdiff -r1.150 -r1.151 src/usr.bin/make/main.c
cvs rdiff -r1.48 -r1.49 src/usr.bin/make/nonints.h
cvs rdiff -r1.146 -r1.147 src/usr.bin/make/parse.c
cvs rdiff -r1.28 -r1.29 src/usr.bin/make/str.c
cvs rdiff -r1.63 -r1.64 src/usr.bin/make/suff.c
cvs rdiff -r1.52 -r1.53 src/usr.bin/make/targ.c
cvs rdiff -r1.44 -r1.45 src/usr.bin/make/util.c
cvs rdiff -r1.133 -r1.134 src/usr.bin/make/var.c
cvs rdiff -r1.15 -r1.16 src/usr.bin/make/lst.lib/lstInt.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index