cvs: php-src /ext/spl spl_directory.c
| From: | Marcus Boerger | Date: | Wed, 09 Mar 2005 03:07:42 +0000 |
| Subject: | cvs: php-src /ext/spl spl_directory.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-30795@lists.php.net to get a copy of this message | ||
helly Tue Mar 8 22:07:42 2005 EDT
Modified files:
/php-src/ext/spl spl_directory.c
Log:
More line count fixes
http://cvs.php.net/diff.php/php-src/ext/spl/spl_directory.c?r1=1.36&r2=1.37&ty=u
Index: php-src/ext/spl/spl_directory.c
diff -u php-src/ext/spl/spl_directory.c:1.36 php-src/ext/spl/spl_directory.c:1.37
--- php-src/ext/spl/spl_directory.c:1.36 Tue Mar 8 21:54:36 2005
+++ php-src/ext/spl/spl_directory.c Tue Mar 8 22:07:42 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: spl_directory.c,v 1.36 2005/03/09 02:54:36 helly Exp $ */
+/* $Id: spl_directory.c,v 1.37 2005/03/09 03:07:42 helly Exp $ */
#ifdef HAVE_CONFIG_H
# include "config.h"
@@ -1298,6 +1298,7 @@
FileFunctionCall(fgetss, arg2);
zval_ptr_dtor(&arg2);
+ intern->current_line_num++;
} /* }}} */
/* {{{ proto int File::fpassthru()
@@ -1311,7 +1312,14 @@
/* {{{ proto bool File::fscanf(string format [, string ...])
Implements a mostly ANSI compatible fscanf() */
-FileFunction(fscanf)
+SPL_METHOD(File, fscanf)
+{
+ spl_file_object *intern = (spl_file_object*)zend_object_store_get_object(getThis() TSRMLS_CC);
+
+ FileFunctionCall(fscanf, arg2);
+
+ intern->current_line_num++;
+}
/* }}} */
/* {{{ proto mixed File::fwrite(string str [, int length])