From 5d2437d56f280f49cf0e57f124f9ab98211ddb13 Mon Sep 17 00:00:00 2001 From: sjg Date: Sun, 4 Aug 2013 07:10:16 +0000 Subject: Move the call to Job_SetPrefix() to Job_Init() so that makefiles have had a chance to set .MAKE.JOB.PREFIX --- contrib/bmake/job.c | 1 + contrib/bmake/main.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') diff --git a/contrib/bmake/job.c b/contrib/bmake/job.c index 902050d..c8af895 100644 --- a/contrib/bmake/job.c +++ b/contrib/bmake/job.c @@ -2214,6 +2214,7 @@ Job_SetPrefix(void) void Job_Init(void) { + Job_SetPrefix(); /* Allocate space for all the job info */ job_table = bmake_malloc(maxJobs * sizeof *job_table); memset(job_table, 0, maxJobs * sizeof *job_table); diff --git a/contrib/bmake/main.c b/contrib/bmake/main.c index 3a164ce..f4445c9 100644 --- a/contrib/bmake/main.c +++ b/contrib/bmake/main.c @@ -1026,7 +1026,6 @@ main(int argc, char **argv) snprintf(pn, sizeof(pn), "%s[%d]", progname, makelevel); progname = bmake_strdup(pn); } - Job_SetPrefix(); #ifdef USE_META meta_init(); -- cgit v1.1