Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36501 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 82393 invoked from network); 25 Mar 2008 15:05:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Mar 2008 15:05:32 -0000 Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from [212.25.124.162] ([212.25.124.162:50974] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B0/91-08002-AB419E74 for ; Tue, 25 Mar 2008 10:05:32 -0500 Received: (qmail 2768 invoked from network); 25 Mar 2008 15:05:27 -0000 Received: from unknown (HELO ?10.1.20.25?) (10.1.20.25) by mail.zend.net with SMTP; 25 Mar 2008 15:05:27 -0000 Message-ID: <47E914B5.4020008@zend.com> Date: Tue, 25 Mar 2008 18:05:25 +0300 User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Gregory Beaver CC: Andi Gutmans , internals Mailing List , Stas Malyshev References: <47E2F8FA.20107@chiaraquartet.net> <47E37C42.10308@zend.com> <698DE66518E7CA45812BD18E807866CE0165A762@us-ex1.zend.net> <47E8325C.5000901@chiaraquartet.net> <47E8C3EF.4080505@zend.com> <47E90886.4080806@chiaraquartet.net> In-Reply-To: <47E90886.4080806@chiaraquartet.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] REMINDER - stream wrappers in include_path From: dmitry@zend.com (Dmitry Stogov) I'm going to commit it tomorrow. Thanks. Dmitry. Gregory Beaver wrote: > Dmitry Stogov wrote: >> I hope it's the last iteration, but check me anyway. >> The patch is based on latest Gregory's patch. >> >> - optimized out strncpy() calls >> - zend_resolve_path() replaced with php_resolve_path() >> - improved php_resolve_path() to resolve "file://..." >> - fixed possible double-free issue in _php_stream_open_wrapper_ex() >> >> Thanks. Dmitry. >> >> Greg Beaver wrote: >>> Andi Gutmans wrote: >>>> Can we please use strlcpy() instead of strncpy()? This is a coding >>>> standard we implemented years ago. >>> obviously an easy change. FYI - this also needs to be fixed in >>> fopen_with_path_rel in PHP_5_2, as I copied most of the code from >>> that function. >>> >>> Greg > works great here - commit with all due haste :) > > Greg