SOURCES: php-pecl-runkit-php52.patch (NEW) - make it compile with php 5.2 ...

glen glen at pld-linux.org
Mon Oct 13 00:25:18 CEST 2008


Author: glen                         Date: Sun Oct 12 22:25:18 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- make it compile with php 5.2
  with info from http://gabriel.e-radical.ro/blog1.php/2008/09/25/runkit

---- Files affected:
SOURCES:
   php-pecl-runkit-php52.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/php-pecl-runkit-php52.patch
diff -u /dev/null SOURCES/php-pecl-runkit-php52.patch:1.1
--- /dev/null	Mon Oct 13 00:25:19 2008
+++ SOURCES/php-pecl-runkit-php52.patch	Mon Oct 13 00:25:13 2008
@@ -0,0 +1,11 @@
+--- php-pecl-runkit-0.9/runkit_import.c~	2006-06-07 00:06:08.000000000 +0300
++++ php-pecl-runkit-0.9/runkit_import.c	2008-10-13 01:24:08.073851193 +0300
+@@ -227,7 +227,7 @@
+ 			char *cname = NULL, *pname = key;
+ 
+ #ifdef ZEND_ENGINE_2
+-			zend_unmangle_property_name(key, &cname, &pname);
++			zend_unmangle_property_name(key, key_len - 1, &cname, &pname);
+ #endif
+ 			if (zend_hash_exists(&dce->default_properties, key, key_len)) {
+ 				if (override) {
================================================================


More information about the pld-cvs-commit mailing list