Date: Tue, 13 Mar 2001 12:21:42 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: "Mark E." cc: djgpp-workers AT delorie DOT com Subject: Re: exit handler for fd_props.c In-Reply-To: <3AAD63C1.14365.38DA4A@localhost> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 13 Mar 2001, Mark E. wrote: > *************** exit(int status) > *** 51,56 **** > --- 54,62 ---- > /* Do this after the stdio cleanup to let it close off the fopen'd files > */ > if (__FSEXT_exit_hook) > __FSEXT_exit_hook(); > + > + if (__fd_properties_cleanup_hook) > + __fd_properties_cleanup_hook(); Shouldn't the added code be before __FSEXT_exit_hook? It seems pretty much similar to the stdio cleanup, so should follow the same logic, no?