Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:10933 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6506 invoked by uid 1010); 6 Jul 2004 18:49:21 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 6447 invoked from network); 6 Jul 2004 18:49:21 -0000 Received: from unknown (HELO mx.thebrainroom.net) (69.55.226.195) by pb1.pair.com with SMTP; 6 Jul 2004 18:49:21 -0000 Received: by mx.thebrainroom.net (Postfix, from userid 517) id BDE6414880E0; Tue, 6 Jul 2004 11:49:20 -0700 (PDT) Received: from BAUMBART (pD95F821D.dip.t-dialin.net [217.95.130.29]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mx.thebrainroom.net (Postfix) with ESMTP id 90F7A14880DE; Tue, 6 Jul 2004 11:49:17 -0700 (PDT) Date: Tue, 6 Jul 2004 20:49:17 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <809464270.20040706204917@marcus-boerger.de> To: Kamesh Jayachandran Cc: internals@lists.php.net In-Reply-To: <1089129500.25150.199825559@webmail.messagingengine.com> References: <1089129500.25150.199825559@webmail.messagingengine.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on jc.thebrainroom.net X-Spam-Status: No, hits=0.8 required=5.0 tests=PRIORITY_NO_NAME autolearn=no version=2.63 X-Spam-Level: X-TBR-Filter: Virus scanned and defanged Subject: Re: [PHP-DEV] handle member in zend_module_entry is not getting populated From: helly@php.net (Marcus Boerger) Hello Kamesh, Tuesday, July 6, 2004, 5:58:20 PM, you wrote: > Hi All, > In Zend/zend_API.c > function module_destructor > There is a code to do a dlclose on the dlopened handle. > The code looks like following, > if (module->handle) { > dlclose(module->handle); > } > Unfortunately this module->handle is always 0 which causes this symbols > not getting unloaded.(Even for dynamically loaded PHP extnsion also > handle is 0) > Till version 1.91 of ext/standard/dl.c this handle member was getting > populated. > From 1.92 onwards this stopped happening.. Committed, Thanks for noticing :-) -- Best regards, Marcus mailto:helly@php.net