Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20982 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20336 invoked by uid 1010); 2 Dec 2005 01:20:57 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 20321 invoked from network); 2 Dec 2005 01:20:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Dec 2005 01:20:57 -0000 X-Host-Fingerprint: 12.46.48.31 unknown Linux 2.4/2.6 Received: from ([12.46.48.31:25425] helo=next-online.net) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id A6/90-14828-971AF834 for ; Thu, 01 Dec 2005 20:20:57 -0500 Received: from [192.168.237.206] (account rdingman [192.168.237.206] verified) by next-online.net (CommuniGate Pro SMTP 5.0.1) with ESMTPSA id 1007251 for internals@lists.php.net; Thu, 01 Dec 2005 17:20:53 -0800 Mime-Version: 1.0 (Apple Message framework v746.2) To: internals@lists.php.net Message-ID: <4204DAE8-9846-40B4-BE21-D42ACFC500EC@next-online.net> Content-Type: multipart/mixed; boundary=Apple-Mail-2-560480395 Date: Thu, 1 Dec 2005 17:21:42 -0800 X-Mailer: Apple Mail (2.746.2) Subject: Patch for bug #35512 From: rdingman@next-online.net (Ryan Dingman) --Apple-Mail-2-560480395 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Here's a patch for bug #35512. I'm hoping that this can be included in PHP 5.1.2 Thanks, Ryan Dingman rdingman@next-online.net Next Online Mortgage Technologies, Inc. --Apple-Mail-2-560480395 Content-Transfer-Encoding: 7bit Content-Type: text/plain; x-unix-mode=0644; name="patch-35512.txt" Content-Disposition: attachment; filename=patch-35512.txt Index: ZendEngine2/zend.c =================================================================== RCS file: /repository/ZendEngine2/zend.c,v retrieving revision 1.330 diff -u -r1.330 zend.c --- ZendEngine2/zend.c 1 Dec 2005 11:49:15 -0000 1.330 +++ ZendEngine2/zend.c 2 Dec 2005 01:19:08 -0000 @@ -1794,7 +1794,7 @@ if (!file_handle) { continue; } - EG(active_op_array) = zend_compile_file(file_handle, ZEND_INCLUDE TSRMLS_CC); + EG(active_op_array) = zend_compile_file(file_handle, type TSRMLS_CC); if(file_handle->opened_path) { int dummy=1; zend_hash_add(&EG(included_files), file_handle->opened_path, strlen(file_handle->opened_path)+1, (void *)&dummy, sizeof(int), NULL); --Apple-Mail-2-560480395--