Hi Jim, * Jim Meyering wrote on Sat, Nov 14, 2009 at 01:11:38PM CET: > I propose to fix it by adding a trap ... 0. > A welcome side-effect is that with this change, you remove > temporary files from only one place: the trap, rather > than just prior to every other exit point. > > The only tricky part about the trap-0 is that you > have to be sure to preserve the exit status.
Not only that, you also have to ensure to get the right exit status into the zero trap, by using something like (exit $N); exit $N throughout, see '(autoconf.info)Limitations of Builtins'. > Here's the patch for that particular file: It is lacking a few of the above. Cheers, Ralf