Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15624 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43013 invoked by uid 1010); 26 Mar 2005 10:07:21 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 42998 invoked from network); 26 Mar 2005 10:07:21 -0000 Received: from unknown (HELO zend.com) (127.0.0.1) by localhost with SMTP; 26 Mar 2005 10:07:21 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:41519] helo=mail.zend.com) by pb1.pair.com (ecelerity HEAD r(5268)) with SMTP id FA/66-51637-65435424 for ; Sat, 26 Mar 2005 05:07:20 -0500 Received: (qmail 22743 invoked from network); 26 Mar 2005 10:07:14 -0000 Received: from internal.zend.office (HELO localhost) (10.1.1.1) by internal.zend.office with SMTP; 26 Mar 2005 10:07:14 -0000 Date: Sat, 26 Mar 2005 13:05:56 +0300 To: php-dev Message-ID: <20050326130556.068b80de.antony@zend.com> X-Mailer: Sylpheed version 1.9.6 (GTK+ 2.4.9; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Two minor issues in 5.0.4 From: antony@zend.com (Antony Dovgal) Hi all! I'd like to fix two minor issues before releasing 5.0.4. These issues are: 1) mmap'ed files are bound to 2M. In HEAD PHP_STREAM_COPY_ALL is ((size_t)-1), but for some reasons in 5.0.4 it is set to 2000000. That causes readfile() to read only 2Mb and stop (which is rather frustrating). See main/php_streams.h 2) output_reset_rewrite_vars() *always* returns false. See php_url_scanner_reset_var() in ext/standard/url_scanner_ex.re, IMO it's just a silly typo, but this routine returns FAILURE in any case. The very same problem actually exists in all other branches too If nobody objects, I'll fix both issues in the evening. -- Wbr, Antony Dovgal aka tony2001 antony@zend.com