diff options
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1029,7 +1029,7 @@ static function gets_all() { while (it::_stdin_next()) { if (($fd = $GLOBALS['it_stdin']['fd'])) - while ($line = fgets($fd)) + while (($line = fgets($fd)) !== false) yield rtrim($line, "\n"); else yield $GLOBALS['it_stdin']['filename']; |