From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4182 invoked by alias); 17 Dec 2002 21:10:38 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 4171 invoked from network); 17 Dec 2002 21:10:35 -0000 Received: from unknown (HELO executor.cambridge.redhat.com) (195.224.55.237) by sources.redhat.com with SMTP; 17 Dec 2002 21:10:35 -0000 Received: from prospero.boston.redhat.com (dell-paw-2.cambridge.redhat.com [195.224.55.226]) by executor.cambridge.redhat.com (Postfix) with ESMTP id 12710ABAF8; Tue, 17 Dec 2002 21:10:34 +0000 (GMT) Received: by prospero.boston.redhat.com (Postfix, from userid 4046) id 59833F7F49; Tue, 17 Dec 2002 20:51:28 +0000 (GMT) To: Geoffrey Keating Cc: gcc-patches@gcc.gnu.org Subject: Re: Allow genmultilib to be reentrant References: <200212170522.gBH5MTDJ004755@keatge.apple.com> From: Jason Merrill In-Reply-To: <200212170522.gBH5MTDJ004755@keatge.apple.com> (Geoffrey Keating's message of "Mon, 16 Dec 2002 21:22:29 -0800 (PST)") Date: Tue, 17 Dec 2002 13:10:00 -0000 Message-ID: User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-SW-Source: 2002-12/txt/msg00901.txt.bz2 --=-=-= Content-length: 462 On Mon, 16 Dec 2002 21:22:29 -0800 (PST), Geoffrey Keating wrote: > 2002-12-16 Geoffrey Keating > > * genmultilib: Create temporary files in unique subdirectory. This breaks for me; I have CDPATH set, so "cd tmpmultilib.$$" prints out the expanded path. Perhaps this is a bash bug, but this patch fixes the problem. Applied to trunk. 2002-12-17 Jason Merrill * genmultilib: Use 'cd ./foo'. --=-=-= Content-Type: text/x-patch Content-Disposition: inline Content-length: 700 *** genmultilib.~1~ Tue Dec 17 01:23:19 2002 --- genmultilib Tue Dec 17 02:04:07 2002 *************** enable_multilib=$8 *** 121,127 **** echo "static const char *const multilib_raw[] = {" mkdir tmpmultilib.$$ || exit 1 ! cd tmpmultilib.$$ || exit 1 # What we want to do is select all combinations of the sets in # options. Each combination which includes a set of mutually --- 121,128 ---- echo "static const char *const multilib_raw[] = {" mkdir tmpmultilib.$$ || exit 1 ! # Use cd ./foo to avoid CDPATH output. ! cd ./tmpmultilib.$$ || exit 1 # What we want to do is select all combinations of the sets in # options. Each combination which includes a set of mutually --=-=-=--