From d191243d9001d2a26f307dab66358cf0f7e995b3 Mon Sep 17 00:00:00 2001 From: "Simon J. Gerraty" Date: Sun, 4 Aug 2013 07:10:16 +0000 Subject: [PATCH] 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(-) diff --git a/contrib/bmake/job.c b/contrib/bmake/job.c index 902050d22374..c8af895c4dd0 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 3a164ce33f5d..f4445c99c6b9 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();