nikawhite pushed a commit to branch master. http://git.enlightenment.org/tools/enventor.git/commit/?id=7a3aff94c338361f62b59122fe9ada1a5d7a7661
commit 7a3aff94c338361f62b59122fe9ada1a5d7a7661 Author: Mykyta Biliavskyi <m.biliavs...@samsung.com> Date: Fri Mar 25 17:22:06 2016 +0900 Enventor smart: create new empty file in file_set. Fix T3275 --- src/lib/enventor_smart.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/lib/enventor_smart.c b/src/lib/enventor_smart.c index 4138de6..e22f4f2 100644 --- a/src/lib/enventor_smart.c +++ b/src/lib/enventor_smart.c @@ -304,7 +304,16 @@ _enventor_object_efl_file_file_set(Eo *obj EINA_UNUSED, { build_edc_path_set(file); autocomp_target_set(pd->ed); - if (!edit_load(pd->ed, file)) goto err; + if (!file) goto err; + + /* Create empty file*/ + if (!ecore_file_exists(file)) + { + FILE *fp = fopen(file, "w"); + fclose(fp); + } + + edit_load(pd->ed, file); build_edc(); edit_changed_set(pd->ed, EINA_FALSE); --