From 2738235a0ce6ad225621474ef0d0c21c5095c177 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Wed, 18 Jul 2012 22:23:14 +0200 Subject: [PATCH] general: Sanitize IFS in EXIT trap IFS may be modified temporarily when the configure script receives a signal. Make sure the EXIT trap uses the standard value. * lib/autoconf/general.m4: Sanitize IFS in trap. * THANKS: Update. Copyright-paperwork-exempt: Yes --- THANKS | 2 +- lib/autoconf/general.m4 | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/THANKS b/THANKS index 8682c87e..d90237d4 100644 --- a/THANKS +++ b/THANKS @@ -33,7 +33,7 @@ Anders Kaseorg andersk@MIT.EDU Andreas Buening andreas.buening@nexgo.de Andreas Jaeger aj@suse.de Andreas Schott schott@rzg.mpg.de -Andreas Schwab schwab@issan.informatik.uni-dortmund.de +Andreas Schwab schwab@linux-m68k.org Andreas Waechter andreasw@watson.ibm.com Andrej Borsenkow borsenkow.msk@sni.de Andrew Belov ? diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index adfae1db..d06fdf5a 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -1266,6 +1266,8 @@ AS_UNSET(ac_configure_args1) # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? + # Sanitize IFS. + IFS=" "" $as_nl" # Save into config.log some information that might help in debugging. { echo -- 2.47.2