Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:12828 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26895 invoked by uid 1010); 15 Sep 2004 10:50:29 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 23489 invoked from network); 15 Sep 2004 10:49:06 -0000 Received: from unknown (HELO iko.gotobg.net) (80.168.8.116) by pb1.pair.com with SMTP; 15 Sep 2004 10:49:06 -0000 Received: from pd9e612f3.dip.t-dialin.net ([217.230.18.243] helo=[192.168.0.36]) by iko.gotobg.net with asmtp (Exim 4.41) id 1C7XLX-0005Mq-Eq for internals@lists.php.net; Wed, 15 Sep 2004 13:49:07 +0300 Message-ID: <41481DDE.60307@hristov.com> Date: Wed, 15 Sep 2004 12:47:58 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a3) Gecko/20040817 X-Accept-Language: en-us, en MIME-Version: 1.0 To: internals@lists.php.net Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - iko.gotobg.net X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - hristov.com X-Source: X-Source-Args: X-Source-Dir: Subject: Re: [PHP-DEV] Patch: Rasmus statcallpatch with configure option From: php@hristov.com (Andrey Hristov) Jan Schneider wrote: > Zitat von Derick Rethans : > >> On Tue, 14 Sep 2004, Andi Gutmans wrote: >> >>> a) I will try and send internals@ an updated version of the realpath() >>> cache in the next few days. This should give a lot of bang for the buck >>> because realpath() is probably the suckiest system call in the startup. >>> b) Maybe Wez & Sara can take one more look to double check if there aren't >>> any checks they can possibly save without impairing functionality. >>> c) Create a new version of your patch based on (a) & (b) and make sure we >>> find an accessible place for it with the disclaimer. >> >> >> >> A good accessible place would be our distribution. It's annoying to have >> to maintain a patch outside the main tree. There is also no reason why >> people would just enable this feature by default if they have no clue >> what they are doing, we can add big nice disclaimers around it. I can >> see nothing wrong with it, I also don't think this is a nasty hack or a >> crappy patch. I do not seek to have this patch into PHP 5, you can do >> your realcache magic there if you want. > > > > Why not keeping that patch (and others that might be worth it as well) in > the php-src module, but really as a patch, not applied to the default > distro? This way it's available at a single point, everyone having a > tarball can apply it, and it still won't be available with a simple config > option. > > Jan. > > -- > Do you need professional PHP or Horde consulting? > http://horde.org/consulting/ > If kept like this it has to be updated, which almost no different from the case being on zend.com . To make it harder for someone to shoot himself then let it in without configure option but a #define somewhere. If someone wants to compile it with this support (s)he has to change the value of the #define. Andrey