Re: Patch for bug report #35243

From: Date: Fri, 18 Nov 2005 16:46:37 +0000
Subject: Re: Patch for bug report #35243
Groups: php.internals 
Request: Send a blank email to internals+get-20167@lists.php.net to get a copy of this message
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!

--- ./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); }
« previous php.internals (#20167) next »