tony2001 Wed Mar 9 04:19:31 2005 EDT
Modified files:
/php-src/ext/spl spl_directory.c
Log:
fix build
http://cvs.php.net/diff.php/php-src/ext/spl/spl_directory.c?r1=1.37&r2=1.38&ty=u
Index: php-src/ext/spl/spl_directory.c
diff -u php-src/ext/spl/spl_directory.c:1.37
php-src/ext/spl/spl_directory.c:1.38
--- php-src/ext/spl/spl_directory.c:1.37 Tue Mar 8 22:07:42 2005
+++ php-src/ext/spl/spl_directory.c Wed Mar 9 04:19:27 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: spl_directory.c,v 1.37 2005/03/09 03:07:42 helly Exp $ */
+/* $Id: spl_directory.c,v 1.38 2005/03/09 09:19:27 tony2001 Exp $ */
#ifdef HAVE_CONFIG_H
# include "config.h"
@@ -535,7 +535,7 @@
/* }}} */
/* {{{ proto RecursiveDirectoryIterator DirectoryIterator::getChildren()
- Returns an iterator fo rthe current entry if it is a directory */
+ Returns an iterator for the current entry if it is a directory */
SPL_METHOD(RecursiveDirectoryIterator, getChildren)
{
zval *object = getThis(), zpath;
@@ -1315,6 +1315,9 @@
SPL_METHOD(File, fscanf)
{
spl_file_object *intern =
(spl_file_object*)zend_object_store_get_object(getThis() TSRMLS_CC);
+ zval *arg2 = NULL;
+ MAKE_STD_ZVAL(arg2);
+ ZVAL_LONG(arg2, intern->max_line_len);
FileFunctionCall(fscanf, arg2);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php