projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0650797
)
eina/file - revert 18be4c50d9990c82ed9ce4269b7820e61f772699
author
ChunEon Park
<hermet@hermet.pe.kr>
Sat, 31 May 2014 09:34:48 +0000
(18:34 +0900)
committer
ChunEon Park
<hermet@hermet.pe.kr>
Sat, 31 May 2014 09:34:48 +0000
(18:34 +0900)
I realized that's not a bug in eina but user usage was inccorect.
revert the patch
@fix
src/lib/eina/eina_file_common.c
patch
|
blob
|
history
diff --git
a/src/lib/eina/eina_file_common.c
b/src/lib/eina/eina_file_common.c
index
7d42b63
..
4e93a67
100644
(file)
--- a/
src/lib/eina/eina_file_common.c
+++ b/
src/lib/eina/eina_file_common.c
@@
-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;