diff options
author | Marcus Boerger <helly@php.net> | 2005-03-09 02:54:36 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2005-03-09 02:54:36 +0000 |
commit | ef17168fd18f5ff131c7932275c40b43e41428a4 (patch) | |
tree | fcc223c068477d6dd43134443bb66ad45037c53e /ext/spl | |
parent | 3efc383a0785f2ac3665e371e7c5c19ba004537b (diff) | |
download | php-git-ef17168fd18f5ff131c7932275c40b43e41428a4.tar.gz |
No double line counting
Diffstat (limited to 'ext/spl')
-rwxr-xr-x | ext/spl/spl_directory.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/spl/spl_directory.c b/ext/spl/spl_directory.c index 67c36a40e1..a2aa532c42 100755 --- a/ext/spl/spl_directory.c +++ b/ext/spl/spl_directory.c @@ -1045,7 +1045,6 @@ SPL_METHOD(File, fgets) if (spl_file_object_read(intern, 0 TSRMLS_CC) == FAILURE) { RETURN_FALSE; } - intern->current_line_num++; RETURN_STRINGL(intern->current_line, intern->current_line_len, 1); } /* }}} */ |