Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ghostlyrat
php5-eaccelerator
eaccelerator-0.9.6-stringcompare.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File eaccelerator-0.9.6-stringcompare.patch of Package php5-eaccelerator
Index: ea_restore.c =================================================================== --- ea_restore.c.orig 2010-02-04 19:10:11.000000000 +0100 +++ ea_restore.c 2010-04-02 23:56:10.562259000 +0200 @@ -356,7 +356,7 @@ void restore_zval(zval * zv TSRMLS_DC) case IS_CONSTANT: case IS_OBJECT: case IS_STRING: - if (Z_STRVAL_P(zv) == NULL || Z_STRVAL_P(zv) == "" || Z_STRLEN_P(zv) == 0) { + if (Z_STRVAL_P(zv) == NULL || (strcmp(Z_STRVAL_P(zv), "") == 0) || Z_STRLEN_P(zv) == 0) { Z_STRLEN_P(zv) = 0; Z_STRVAL_P(zv) = empty_string; return;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor