cvs: pecl /phar phar_object.c
| From: | Antony Dovgal | Date: | Fri, 01 Feb 2008 11:25:58 +0000 |
| Subject: | cvs: pecl /phar phar_object.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-9653@lists.php.net to get a copy of this message | ||
tony2001 Fri Feb 1 11:25:58 2008 UTC
Modified files:
/pecl/phar phar_object.c
Log:
we don't want to modify the pointer contents, we just want to change the pointer itself
http://cvs.php.net/viewvc.cgi/pecl/phar/phar_object.c?r1=1.139&r2=1.140&diff_format=u
Index: pecl/phar/phar_object.c
diff -u pecl/phar/phar_object.c:1.139 pecl/phar/phar_object.c:1.140
--- pecl/phar/phar_object.c:1.139 Wed Jan 30 23:50:22 2008
+++ pecl/phar/phar_object.c Fri Feb 1 11:25:58 2008
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: phar_object.c,v 1.139 2008/01/30 23:50:22 helly Exp $ */
+/* $Id: phar_object.c,v 1.140 2008/02/01 11:25:58 tony2001 Exp $ */
#include "phar_internal.h"
#include "func_interceptors.h"
@@ -1075,7 +1075,7 @@
efree(fname);
return ZEND_HASH_APPLY_KEEP;
}
- test = expand_filepath(fname, test TSRMLS_CC);
+ test = expand_filepath(fname, NULL TSRMLS_CC);
if (test) {
efree(fname);
fname = test;