eina/file - revert 18be4c50d9

I realized that's not a bug in eina but user usage was inccorect.
revert the patch

@fix
This commit is contained in:
ChunEon Park 2014-05-31 18:34:48 +09:00
parent 0650797825
commit 328d28a7f4
1 changed files with 1 additions and 2 deletions

View File

@ -573,8 +573,7 @@ _eina_file_map_lines_iterator_next(Eina_Lines_Iterator *it, void **data)
it->current.start = it->current.end;
it->current.end = eol;
it->current.length = eol - it->current.start;
if (eol < it->end) it->current.length--;
it->current.length = eol - it->current.start - 1;
*data = &it->current;
return EINA_TRUE;