Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Aug 2013 07:10:16 +0000 (UTC)
From:      "Simon J. Gerraty" <sjg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r253925 - head/contrib/bmake
Message-ID:  <201308040710.r747AG14050180@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sjg
Date: Sun Aug  4 07:10:16 2013
New Revision: 253925
URL: http://svnweb.freebsd.org/changeset/base/253925

Log:
  Move the call to Job_SetPrefix() to Job_Init() so that
  makefiles have had a chance to set .MAKE.JOB.PREFIX

Modified:
  head/contrib/bmake/job.c
  head/contrib/bmake/main.c

Modified: head/contrib/bmake/job.c
==============================================================================
--- head/contrib/bmake/job.c	Sun Aug  4 06:36:17 2013	(r253924)
+++ head/contrib/bmake/job.c	Sun Aug  4 07:10:16 2013	(r253925)
@@ -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);

Modified: head/contrib/bmake/main.c
==============================================================================
--- head/contrib/bmake/main.c	Sun Aug  4 06:36:17 2013	(r253924)
+++ head/contrib/bmake/main.c	Sun Aug  4 07:10:16 2013	(r253925)
@@ -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();



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308040710.r747AG14050180>