Revert "eina: fix eina_file_iterator"

This reverts commit 375d652df6430e08874412650e6f8aecfcbdca51.

SVN revision: 73056
This commit is contained in:
Sebastian Dransfeld 2012-06-29 20:47:55 +00:00
parent 2087ba893e
commit 8fc3cd2a34
2 changed files with 3 additions and 4 deletions

View File

@ -303,7 +303,3 @@
passthrough to malloc for debgging purposes and memory footrpint
comparisons at runtime.
2012-06-29 Sebastian Dransfeld
* Fix eina_file_map_lines. The function would not return the last line
of a file.

View File

@ -1190,6 +1190,9 @@ _eina_file_map_lines_iterator_next(Eina_Lines_Iterator *it, void **data)
}
it->current.line.index++;
if (it->current.line.end == it->end)
return EINA_FALSE;
eol = _eina_fine_eol(it->current.line.end,
it->boundary,
it->end);