Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7233 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47802 invoked by uid 1010); 21 Jan 2004 11:42:59 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 47704 invoked by uid 1007); 21 Jan 2004 11:42:59 -0000 Message-ID: <20040121114259.47703.qmail@pb1.pair.com> To: internals@lists.php.net Date: Wed, 21 Jan 2004 12:42:44 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 References: <20040120133710.94759.qmail@pb1.pair.com> <5.1.0.14.2.20040121133428.01fcee30@127.0.0.1> In-Reply-To: <5.1.0.14.2.20040121133428.01fcee30@127.0.0.1> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 80.126.21.70 Subject: Re: [PHP-DEV] solution for DL's using atexit() From: abies@php.net (Ard Biesheuvel) > I don't know if we should get into this. Do we *really* care if we crash > on exit? Are you serious ?? Of course we care about segfaults, don't we, even if it's 'only' on exit ?? > We are talking about MSHUTDOWN not RSHUTDOWN here. It's not an Depends if you use dl() or load from php.ini. If loaded by dl(), it will segfault on every request. > ideal situation but I wouldn't want screw things in PHP just for these > dumb shared libraries :) Actually, I've already committed a patch which will omit the dlclose() call. This means the module will not be available if you do not dl() it on every request, but it won't be dlclose()'d after you've loaded it once. Note that this will only affect users who have the interbase.so and actually use it. -- Ard