From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10670 Path: news.gmane.org!.POSTED!not-for-mail From: Laine Gholson Newsgroups: gmane.linux.lib.musl.general Subject: [PATCH] configure: fix ctrl+C Date: Mon, 24 Oct 2016 20:53:22 -0500 Message-ID: <23b44ff4-70c7-9db0-a727-7b5336b3827b@gmail.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------D17F5E08EF08BA3BB431F902" X-Trace: blaine.gmane.org 1477360441 29321 195.159.176.226 (25 Oct 2016 01:54:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 25 Oct 2016 01:54:01 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux armv7l; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 To: musl@lists.openwall.com Original-X-From: musl-return-10683-gllmg-musl=m.gmane.org@lists.openwall.com Tue Oct 25 03:53:58 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1byqvw-0005TM-Rr for gllmg-musl@m.gmane.org; Tue, 25 Oct 2016 03:53:44 +0200 Original-Received: (qmail 27847 invoked by uid 550); 25 Oct 2016 01:53:45 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 27806 invoked from network); 25 Oct 2016 01:53:43 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:from:subject:message-id:date:user-agent:mime-version; bh=37dpFpV/ZN79787TzULcQiVF5EMdXnEer8utTNrKfvg=; b=Xd9m80iTgbm/5mSlJnwnizR5AdorlZ9MkXK2Ybrj/r8uvIsUgfdYWHAqKTJb+TvI/Q 86PO4HbX2ZxY2yXXiFJYXu7fb2cK2E/6Oty59moSr/iZI+GgWPFAssvF4wVMzW48km7o JUwCDsZIRKBer/4G/EFbMZKQSXUtYAYIJ3PnqSZ+YTv8J8h1a/mnO76GvFdCZI3mbyQG 0ZVeV2Z48S6xLJV8CT0ZhJBNwEhmwRJwKefayadxhY6A9PcTL0+5ydRwRBQDO6Xas5Z3 0qTBODaAcx8dINhaJVQeCkaQ/VwWYlQR7LfDi9SHyIZ3/fc2OiVn8deivZqsKvuWkIBL mHJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version; bh=37dpFpV/ZN79787TzULcQiVF5EMdXnEer8utTNrKfvg=; b=LiatzhOy5TescOGHM5GWyqIEXbqMLAKnZYekmdwOFISJxetbB/yzozqEc9D103WO4i jWI32E7aCEailumUBJlH/RNnGipvODPYpfp/BnUKl/EYimm3FjuPEbT4RI+1XjDGbbT2 srplVc/IHW9Gg/rKM0uiCF1Ao6XRr7juWKobwFOh2FGJIcdbvU8g45T2mSG2BOdOiw/q wqANRiQ2IanrQ6lI/Be+CadRgypfIu6gU4VW9wlh25ZOzkHIBhL9e+jv31jTeNZOSyhU OE1BgDRU18qiqYFo2td4xK+KqBCa6TOf5+ck6t3m6mLFnXo8hydCjy5AXeQa/2XvA25f nyTw== X-Gm-Message-State: ABUngvcA+4PsgUax9MLqMo25/tu9Dv7V2kNBgcsu17xpYPjB9CQO8sitv34HBc7uyn3nHQ== X-Received: by 10.107.164.209 with SMTP id d78mr15112023ioj.182.1477360410849; Mon, 24 Oct 2016 18:53:30 -0700 (PDT) Xref: news.gmane.org gmane.linux.lib.musl.general:10670 Archived-At: This is a multi-part message in MIME format. --------------D17F5E08EF08BA3BB431F902 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit the trap in the configure script doesn't exit like it should, fix that, and while I am at it, use rm -f to fix spurious errors from rm. --------------D17F5E08EF08BA3BB431F902 Content-Type: text/x-patch; name="configure.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="configure.patch" >From 69f5bbcc3369ee94a91458178f0660a16c73732b Mon Sep 17 00:00:00 2001 From: Laine Gholson Date: Mon, 24 Oct 2016 20:48:18 -0500 Subject: [PATCH] configure: fix ctrl-c --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 707eb12..13afa22 100755 --- a/configure +++ b/configure @@ -214,7 +214,7 @@ tmpc="./conf$$-$PPID-$i.c" test "$i" -gt 50 && fail "$0: cannot create temporary file $tmpc" done set +C -trap 'rm "$tmpc"' EXIT INT QUIT TERM HUP +trap 'rm -f "$tmpc"; exit 1' EXIT INT QUIT TERM HUP # # Check whether we are cross-compiling, and set a default -- 2.10.1 --------------D17F5E08EF08BA3BB431F902--