From owner-svn-src-all@FreeBSD.ORG Mon Jan 11 12:41:03 2010 Return-Path: Delivered-To: svn-src-all@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2E641065676; Mon, 11 Jan 2010 12:41:03 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id 018048FC0A; Mon, 11 Jan 2010 12:41:02 +0000 (UTC) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.3/8.14.3) with ESMTP id o0BCf1sA057772; Mon, 11 Jan 2010 15:41:01 +0300 (MSK) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1263213661; bh=iJwpkNQl2/zWy2Dg8zkXIsa8dJLRNOXuUVQtdU2r3ck=; l=609; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=mrjzAqv//Gos2FynXlKfvgh7ThxHhcwtem1xMrEC6grOn5JKtw7EhDBCgeZEUnWTD hntzagF3+pDbki2fPD4eiWe4D2nF7gTwM7lIyu/AwPrqPEHccKRDgPeXui7jUzTifD NCAqthnhkfaWhUjK/rPBgOZuM8eqgUcpinsr1mX8= Received: (from ache@localhost) by nagual.pp.ru (8.14.3/8.14.3/Submit) id o0BCf0i6057771; Mon, 11 Jan 2010 15:41:00 +0300 (MSK) (envelope-from ache) Date: Mon, 11 Jan 2010 15:40:59 +0300 From: Andrey Chernov To: Hartmut Brandt Message-ID: <20100111124059.GA57742@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Hartmut Brandt , src-committers@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, svn-src-head@FreeBSD.ORG References: <201001110916.o0B9Gg1A012733@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201001110916.o0B9Gg1A012733@svn.freebsd.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: svn-src-head@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, src-committers@FreeBSD.ORG Subject: Re: svn commit: r202070 - head/usr.bin/make X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2010 12:41:03 -0000 On Mon, Jan 11, 2010 at 09:16:42AM +0000, Hartmut Brandt wrote: > @@ -1807,8 +1807,6 @@ JobStart(GNode *gn, int flags, Job *prev > } else { > fprintf(stdout, "Remaking `%s'\n", gn->name); > fflush(stdout); > - if ((tdir = getenv("TMPDIR")) == NULL) > - tdir = TMPDIR; > snprintf(job->outFile, sizeof(job->outFile), "%s/%s", > tdir, TMPPAT); > if ((job->outFd = mkstemp(job->outFile)) == -1) With the presence of .EXPORTVAR directive (setenv() called) TMPDIR environment can be changed on the fly, so perhaps this lines are for reason. -- http://ache.pp.ru/