Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make use bmake_foo instead of efoo()
details: https://anonhg.NetBSD.org/src/rev/e2047e42a141
branches: trunk
changeset: 787946:e2047e42a141
user: christos <christos%NetBSD.org@localhost>
date: Tue Jul 16 14:22:13 2013 +0000
description:
use bmake_foo instead of efoo()
diffstat:
usr.bin/make/main.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (49 lines):
diff -r 6921e64f5e89 -r e2047e42a141 usr.bin/make/main.c
--- a/usr.bin/make/main.c Tue Jul 16 14:00:53 2013 +0000
+++ b/usr.bin/make/main.c Tue Jul 16 14:22:13 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.220 2013/07/16 14:00:53 christos Exp $ */
+/* $NetBSD: main.c,v 1.221 2013/07/16 14:22:13 christos Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -69,7 +69,7 @@
*/
#ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: main.c,v 1.220 2013/07/16 14:00:53 christos Exp $";
+static char rcsid[] = "$NetBSD: main.c,v 1.221 2013/07/16 14:22:13 christos Exp $";
#else
#include <sys/cdefs.h>
#ifndef lint
@@ -81,7 +81,7 @@
#if 0
static char sccsid[] = "@(#)main.c 8.3 (Berkeley) 3/19/94";
#else
-__RCSID("$NetBSD: main.c,v 1.220 2013/07/16 14:00:53 christos Exp $");
+__RCSID("$NetBSD: main.c,v 1.221 2013/07/16 14:22:13 christos Exp $");
#endif
#endif /* not lint */
#endif
@@ -211,10 +211,10 @@
break;
if (*f)
- return estrdup(flags);
+ return bmake_strdup(flags);
len = strlen(flags);
- st = nf = emalloc(len * 3 + 1);
+ st = nf = bmake_malloc(len * 3 + 1);
while (*flags) {
*nf++ = '-';
*nf++ = *flags++;
@@ -993,7 +993,7 @@
if (makelevel > 0) {
char pn[1024];
snprintf(pn, sizeof(pn), "%s[%d]", progname, makelevel);
- progname = estrdup(pn);
+ progname = bmake_strdup(pn);
}
Job_SetPrefix();
Home |
Main Index |
Thread Index |
Old Index