Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » PHP
  • » [PHP-DEV] Patch for bug report #35243 [RSS Feed]

#1 Nov. 18, 2005 16:16:04

D.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[PHP-DEV] Patch for bug report #35243


I've recently opened a bug report #35243, and was requested to send the patch
in unified diff format to this list. Here it is, as requested, both in
plaintext, and uuencoded (in case the mailer really messes things up).



I'd appreciate any feedback, as this is my first time posting a patch.



Thanks,



David Oren



uuencoded:



begin 666 patch-35243.diff

M+2TM("XO97AT+W-T86YD87)D+V)A<VEC7V9U;F-T:6]N<RYC("`@(#(P,#4M

M,3$M,38@,3$Z,S0Z,C0N,#`P,#`P,#`P("LP,<&AP-2TR

M,#`U,3$Q-S`S,S`M<&%T8VAE9"]E>'0O<W1A;F1A<F0O8F%S:6-?9G5N8W1I

M;VYS+F,@,C`P-2TQ,2TQ-R`P.#HP-3HR,2XP,#`P,#`P,,#`-"D!`

M("TY-30L-B`K.34T+#$P($!`#0H@("`@("`@(&UE;7-E="@F0D<H=7)L7V%D

M87!T7W-T871E*2P@,"P@<VEZ96]F*$)'*'5R;%]A9&%P=%]S=&%T92DI*3L-

M"B`@("`@("`@;65M<V5T*"9"1RAU<FQ?861A<'1?<W1A=&"`P+"!S

M:7IE;V8H0D<H=7)L7V%D87!T7W-T871E7V5X*2DI.PT*("`-"BLC:&5F

M:6YE9"A?4D5%3E1204Y4*2`F)B!D969I;F5D*$A!5D5?34)23$5.*2`F)B!D

M969I;F5D*$A!5D5?34)35$%415]4*0T**R`@("`@("!M96US970H)D)'*&UB

M;&5N7W-T871E*2P@,"P@<VEZ96]F*$)'*&UB;&5N7W-T871E*2DI.PT**R-E

M;("`@("`@("!"1RAI;F-O;7!L971E7V-L87-S*2`]('!H<%]C

G<F5A=&5?:6YC;VUP;&5T95]C;&%S<RA44U)

`

end





plaintext:



--- ./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);

}







_______________________________________________
Join Excite! -http://www.excite.comThe most personalized portal on the Web!

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit:http://www.php.net/unsub.php

Offline

#2 Nov. 18, 2005 16:26:26

Wez F.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[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.

On 11/18/05, David <> wrote:
>
> I've recently opened a bug report #35243, and was requested to send the patch
> in unified diff format to this list. Here it is, as requested, both in
> plaintext, and uuencoded (in case the mailer really messes things up).
>
>
>
> I'd appreciate any feedback, as this is my first time posting a patch.
>
>
>
> Thanks,
>
>
>
> David Oren
>
>
>
> uuencoded:
>
>
>
> begin 666 patch-35243.diff
>
> M+2TM("XO97AT+W-T86YD87)D+V)A<VEC7V9U;F-T:6]N<RYC("`@(#(P,#4M
>
> M,3$M,38@,3$Z,S0Z,C0N,#`P,#`P,#`P("LP,<&AP-2TR
>
> M,#`U,3$Q-S`S,S`M<&%T8VAE9"]E>'0O<W1A;F1A<F0O8F%S:6-?9G5N8W1I
>
> M;VYS+F,@,C`P-2TQ,2TQ-R`P.#HP-3HR,2XP,#`P,#`P,,#`-"D!`
>
> M("TY-30L-B`K.34T+#$P($!`#0H@("`@("`@(&UE;7-E="@F0D<H=7)L7V%D
>
> M87!T7W-T871E*2P@,"P@<VEZ96]F*$)'*'5R;%]A9&%P=%]S=&%T92DI*3L-
>
> M"B`@("`@("`@;65M<V5T*"9"1RAU<FQ?861A<'1?<W1A=&"`P+"!S
>
> M:7IE;V8H0D<H=7)L7V%D87!T7W-T871E7V5X*2DI.PT*("`-"BLC:&5F
>
> M:6YE9"A?4D5%3E1204Y4*2`F)B!D969I;F5D*$A!5D5?34)23$5.*2`F)B!D
>
> M969I;F5D*$A!5D5?34)35$%415]4*0T**R`@("`@("!M96US970H)D)'*&UB
>
> M;&5N7W-T871E*2P@,"P@<VEZ96]F*$)'*&UB;&5N7W-T871E*2DI.PT**R-E
>
> M;("`@("`@("!"1RAI;F-O;7!L971E7V-L87-S*2`]('!H<%]C
>
> G<F5A=&5?:6YC;VUP;&5T95]C;&%S<RA44U)
>
> `
>
> end
>
>
>
>
>
> plaintext:
>
>
>
> --- ./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);
>
> }
>
>
>
>
>
>
>
> _______________________________________________
> Join Excite! -http://www.excite.com> The most personalized portal on the Web!
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit:http://www.php.net/unsub.php>
>

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit:http://www.php.net/unsub.php

Offline

#3 Nov. 18, 2005 16:47:27

D.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[PHP-DEV] Patch for bug report #35243


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 < > wrote:

From: Wez Furlong [mailto:

To:

Cc: intern***@*ists.php.net

Date: Fri, 18 Nov 2005 11:25:34 -0500

Subject: Re: 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.comThe 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);

}--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit:http://www.php.net/unsub.php

Offline

  • Root
  • » PHP
  • » [PHP-DEV] Patch for bug report #35243 [RSS Feed]

Board footer

Moderator control

Enjoy the 20th of November
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support