Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53572 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48617 invoked from network); 24 Jun 2011 11:19:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Jun 2011 11:19:59 -0000 Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.113.146.227 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.113.146.227 xdebug.org Linux 2.6 Received: from [82.113.146.227] ([82.113.146.227:51451] helo=xdebug.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 68/B3-23673-ED2740E4 for ; Fri, 24 Jun 2011 07:19:58 -0400 Received: from localhost (xdebug.org [127.0.0.1]) by xdebug.org (Postfix) with ESMTPS id A4DDADE140; Fri, 24 Jun 2011 12:19:55 +0100 (BST) Date: Fri, 24 Jun 2011 12:19:55 +0100 (BST) X-X-Sender: derick@whisky To: Stas Malyshev cc: PHP Developers Mailing List , "dmitry@zend.com" In-Reply-To: <4E03F753.9080604@sugarcrm.com> Message-ID: References: <4E03F753.9080604@sugarcrm.com> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] Small PHPAPI addition From: derick@php.net (Derick Rethans) On Thu, 23 Jun 2011, Stas Malyshev wrote: > On 6/23/11 1:47 PM, Derick Rethans wrote: > > > > In order to fix Xdebug bug #587 > > (http://bugs.xdebug.org/view.php?id=587) I need to have access to > > module_initialized which is currently a static in main/main.c. I've > > added a simple function to retrieve that and would like to commit > > that to 5.3/5.4 and trunk. Comments? The patch is attached. > > Doesn't seem to do any harm, though adding it in 5.3 would mean that > some xdebug builds would work only with 5.3.7 but not 5.3.6, unless > you do some magic. For 5.4, I think it's fine. Makes sense, committed to 5.4 and trunk. Derick