From: Andreas Schwab Date: Wed, 18 Jul 2012 20:23:14 +0000 (+0200) Subject: general: Sanitize IFS in EXIT trap X-Git-Tag: v2.69b~221 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2738235a0ce6ad225621474ef0d0c21c5095c177;p=thirdparty%2Fautoconf.git 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 --- 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