eolian: fail on scan file conflict
If two files of the same name are found in the include paths, the scan should fail.
This commit is contained in:
parent
159e955168
commit
aa1db12c00
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue