Nmap Development mailing list archives
Re: [PATCH] Using atexit() for CloseLibs() under AmigaOS
From: Fyodor <fyodor () insecure org>
Date: Sun, 5 Mar 2006 12:34:26 -0800
On Sun, Mar 05, 2006 at 12:41:36PM -0600, Kris Katterjohn wrote:
The attached patch registers CloseLibs() with atexit() instead of extern'ing CloseLibs() everywhere and #defining exit() to {CloseLibs();exit()}. It also makes OpenLibs() and CloseLibs() static.
I don't know why the Amiga changes didn't use atexit(). That is just how they were sent to me. I agree that atexit() seems to be a better approach, so I have applied your patch. Thanks. If there still are any Amiga users, and this causes trouble, they can certainly let us know. Cheers, -F _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev
Current thread:
- [PATCH] Using atexit() for CloseLibs() under AmigaOS Kris Katterjohn (Mar 05)
- Re: [PATCH] Using atexit() for CloseLibs() under AmigaOS Fyodor (Mar 05)