This commit is contained in:
foobar 2001-11-18 03:34:23 +00:00
parent a2f95abb6d
commit fc3906e93a

View file

@ -527,7 +527,7 @@ PHP_FUNCTION(file)
} }
if (!reached_eof) { if (!reached_eof) {
target_len += strlen(target_buf+target_len); target_len += strlen(target_buf+target_len);
if (target_buf[target_len-1]!='\n') { if (target_buf[target_len-1] != '\n') {
continue; continue;
} }
} }