com php-src: revert change. now it doesn't compile again...someone should fix ext/date...: ext/date/php_date.c
| From: | Andrey Hristov | Date: | Tue, 15 Jan 2013 11:20:58 +0000 |
| Subject: | com php-src: revert change. now it doesn't compile again...someone should fix ext/date...: ext/date/php_date.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-70977@lists.php.net to get a copy of this message | ||
Commit: 5cfa916aad14df889e9119161e359b57a4d9886e
Author: Andrey Hristov <andrey@php.net> Tue, 15 Jan 2013 12:20:58 +0100
Parents: acc24d1f9eb1f5dddc89123baca14e70be84be20
Branches: PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=5cfa916aad14df889e9119161e359b57a4d9886e
Log:
revert change. now it doesn't compile again...someone should fix ext/date...
Changed paths:
M ext/date/php_date.c
Diff:
diff --git a/ext/date/php_date.c b/ext/date/php_date.c
index 1e1e239..cc83130 100644
--- a/ext/date/php_date.c
+++ b/ext/date/php_date.c
@@ -2071,7 +2071,7 @@ static zval* date_clone_immutable(zval *object)
zval *new_object;
ALLOC_ZVAL(new_object);
-// Z_OBJVAL_P(new_object) = date_object_clone_date(object);
+ Z_OBJVAL_P(new_object) = date_object_clone_date(object);
Z_SET_REFCOUNT_P(new_object, 1);
Z_SET_ISREF_P(new_object);
Z_TYPE_P(new_object) = IS_OBJECT;