Re: [PATCH] PR/57652 collect2 temp files

2013-06-19 Thread Joseph S. Myers
On Wed, 19 Jun 2013, David Edelsohn wrote: > A 2011 change to collect2 to use the standard diagnostics > infrastructure broke collect2's cleanup of temp files when an error > occurs. This prototype of a patch implements the minimal conversion > of collect2 to use atexit(). > > If this is the rig

[PATCH] PR/57652 collect2 temp files

2013-06-19 Thread David Edelsohn
A 2011 change to collect2 to use the standard diagnostics infrastructure broke collect2's cleanup of temp files when an error occurs. This prototype of a patch implements the minimal conversion of collect2 to use atexit(). If this is the right direction, all calls to collect_exit() can be convert