forked from enlightenment/efl
Revert "eina: fix eina_file_iterator"
This reverts commit 375d652df6430e08874412650e6f8aecfcbdca51. SVN revision: 73056
This commit is contained in:
parent
2087ba893e
commit
8fc3cd2a34
|
@ -303,7 +303,3 @@
|
||||||
passthrough to malloc for debgging purposes and memory footrpint
|
passthrough to malloc for debgging purposes and memory footrpint
|
||||||
comparisons at runtime.
|
comparisons at runtime.
|
||||||
|
|
||||||
2012-06-29 Sebastian Dransfeld
|
|
||||||
|
|
||||||
* Fix eina_file_map_lines. The function would not return the last line
|
|
||||||
of a file.
|
|
||||||
|
|
|
@ -1190,6 +1190,9 @@ _eina_file_map_lines_iterator_next(Eina_Lines_Iterator *it, void **data)
|
||||||
}
|
}
|
||||||
it->current.line.index++;
|
it->current.line.index++;
|
||||||
|
|
||||||
|
if (it->current.line.end == it->end)
|
||||||
|
return EINA_FALSE;
|
||||||
|
|
||||||
eol = _eina_fine_eol(it->current.line.end,
|
eol = _eina_fine_eol(it->current.line.end,
|
||||||
it->boundary,
|
it->boundary,
|
||||||
it->end);
|
it->end);
|
||||||
|
|
Loading…
Reference in New Issue