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:
f6838c4
)
eolian: fail on scan file conflict
author
Daniel Kolesa
<d.kolesa@samsung.com>
Mon, 6 May 2019 14:48:21 +0000
(16:48 +0200)
committer
Hermet Park
<hermetpark@gmail.com>
Wed, 8 May 2019 04:32:33 +0000
(13:32 +0900)
If two files of the same name are found in the include paths,
the scan should fail.
src/lib/eolian/eolian_database.c
patch
|
blob
|
history
diff --git
a/src/lib/eolian/eolian_database.c
b/src/lib/eolian/eolian_database.c
index
79da362
..
194ac06
100644
(file)
--- a/
src/lib/eolian/eolian_database.c
+++ b/
src/lib/eolian/eolian_database.c
@@
-794,7
+794,7
@@
eolian_state_directory_add(Eolian_State *state, const char *dir)
{
if (!dir || !state) return EINA_FALSE;
Scan_State sst = { state, EINA_TRUE };
- return eina_file_dir_list(dir, EINA_TRUE, _scan_cb, &sst);
+ return eina_file_dir_list(dir, EINA_TRUE, _scan_cb, &sst)
&& sst.succ
;
}
EAPI Eina_Bool