FreeBSD Bugzilla – Attachment 75057 Details for
Bug 108472
lang/php5: add patch which fixes bug #39350
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
php5-5.2.0_1.diff
php5-5.2.0_1.diff (text/plain), 977 bytes, created by
Ralf van der Enden
on 2007-01-28 11:40:17 UTC
(
hide
)
Description:
php5-5.2.0_1.diff
Filename:
MIME Type:
Creator:
Ralf van der Enden
Created:
2007-01-28 11:40:17 UTC
Size:
977 bytes
patch
obsolete
>diff -ruN php5/Makefile php5.new/Makefile >--- php5/Makefile Sun Jan 28 12:22:43 2007 >+++ php5.new/Makefile Sun Jan 28 12:22:53 2007 >@@ -7,7 +7,7 @@ > > PORTNAME= php5 > PORTVERSION= 5.2.0 >-PORTREVISION?= 0 >+PORTREVISION?= 1 > CATEGORIES?= lang devel www > MASTER_SITES= ${MASTER_SITE_PHP:S,$,:release,} \ > http://downloads.php.net/ilia/:rc \ >diff -ruN php5/files/patch-ext_standard_string.c php5.new/files/patch-ext_standard_string.c >--- php5/files/patch-ext_standard_string.c Thu Jan 1 01:00:00 1970 >+++ php5.new/files/patch-ext_standard_string.c Sun Jan 28 12:21:41 2007 >@@ -0,0 +1,16 @@ >+--- ext/standard/string.c 2006/10/11 14:19:55 1.445.2.14.2.27 >++++ ext/standard/string.c 2006/11/06 17:21:05 1.445.2.14.2.28 >+@@ -955,7 +955,12 @@ >+ } >+ smart_str_0(&implstr); >+ >+- RETURN_STRINGL(implstr.c, implstr.len, 0); >++ if (implstr.len) { >++ RETURN_STRINGL(implstr.c, implstr.len, 0); >++ } else { >++ smart_str_free(&implstr); >++ RETURN_EMPTY_STRING(); >++ } >+ } >+ /* }}} */ >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 108472
: 75057