Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 55201 Details for
Bug 87806
Patch for php to compile with gcc4
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
php-5.0.4-gcc4.patch
php-5.0.4-gcc4.patch (text/plain), 705 bytes, created by
Genady Okrain
on 2005-04-03 09:54:45 UTC
(
hide
)
Description:
php-5.0.4-gcc4.patch
Filename:
MIME Type:
Creator:
Genady Okrain
Created:
2005-04-03 09:54:45 UTC
Size:
705 bytes
patch
obsolete
>--- php-5.0.4/ext/xmlrpc/libxmlrpc/xml_element.c.gcc4 >+++ php-5.0.4/ext/xmlrpc/libxmlrpc/xml_element.c >@@ -113,7 +113,7 @@ > #include "expat.h" > #include "encodings.h" > >-#define my_free(thing) if(thing) {free(thing); thing = 0;} >+#define my_free(thing) if(thing) {free(thing); thing = NULL;} > > #define XML_DECL_START "<?xml" > #define XML_DECL_START_LEN sizeof(XML_DECL_START) - 1 >@@ -189,7 +189,10 @@ > > Q_Destroy(&root->children); > Q_Destroy(&root->attrs); >- my_free((char*)root->name); >+ if (root->name) { >+ free((char *)root->name); >+ root->name = NULL; >+ } > simplestring_free(&root->text); > my_free(root); > } >
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 Raw
Actions:
View
Attachments on
bug 87806
: 55201