Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20167 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81986 invoked by uid 1010); 18 Nov 2005 16:46:39 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 81971 invoked from network); 18 Nov 2005 16:46:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Nov 2005 16:46:39 -0000 X-Host-Fingerprint: 207.159.120.57 nn3.excitenetwork.com Received: from ([207.159.120.57:19177] helo=excite.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 5B/60-07637-F650E734 for ; Fri, 18 Nov 2005 11:46:39 -0500 Received: by xprdmailfe6.nwk.excite.com (Postfix, from userid 110) id 18DDE3DF2; Fri, 18 Nov 2005 11:46:37 -0500 (EST) To: internals@lists.php.net Received: from [80.179.92.10] by xprdmailfe6.nwk.excite.com via HTTP; Fri, 18 Nov 2005 11:46:36 EST X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: ID = 05ad14754e293b26dac64b8c8f5410ac Reply-To: david_oren@excite.com MIME-Version: 1.0 X-Sender: david_oren@excite.com X-Mailer: PHP Content-Type: multipart/mixed; boundary="EXCITEBOUNDARY_000__3aa7b25662b31f93cf6dc2da5fd38fef"; Content-Transfer-Encoding: 7bit Message-ID: <20051118164637.18DDE3DF2@xprdmailfe6.nwk.excite.com> Date: Fri, 18 Nov 2005 11:46:37 -0500 (EST) Subject: Re: [PHP-DEV] Patch for bug report #35243 From: david_oren@excite.com ("David") --EXCITEBOUNDARY_000__3aa7b25662b31f93cf6dc2da5fd38fef Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit As requested, the patch as a plain-text MIME attachment. Unfortunately, I don't have easy access to a public server where I can post the file. David. --- On Fri 11/18, Wez Furlong < kingwez@gmail.com > wrote: From: Wez Furlong [mailto: kingwez@gmail.com] To: david_oren@excite.com Cc: internals@lists.php.net Date: Fri, 18 Nov 2005 11:25:34 -0500 Subject: Re: [PHP-DEV] Patch for bug report #35243 Please send patches as plain text MIME attachments, and ideally include a URL where it can be downloaded as well. --Wez. _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! --EXCITEBOUNDARY_000__3aa7b25662b31f93cf6dc2da5fd38fef Content-Type: text/plain; name="patch-35243.txt"; Content-Disposition: attachment; filename="patch-35243.txt" Content-Transfer-Encoding: 7bit --- ./ext/standard/basic_functions.c 2005-11-16 11:34:24.000000000 +0200 +++ ../php5-200511170330-patched/ext/standard/basic_functions.c 2005-11-17 08:05:21.000000000 +0200 @@ -954,6 +954,10 @@ memset(&BG(url_adapt_state), 0, sizeof(BG(url_adapt_state))); memset(&BG(url_adapt_state_ex), 0, sizeof(BG(url_adapt_state_ex))); +#if defined(_REENTRANT) && defined(HAVE_MBRLEN) && defined(HAVE_MBSTATE_T) + memset(&BG(mblen_state), 0, sizeof(BG(mblen_state))); +#endif + BG(incomplete_class) = php_create_incomplete_class(TSRMLS_C); } --EXCITEBOUNDARY_000__3aa7b25662b31f93cf6dc2da5fd38fef--