From: caro Date: Sat, 16 Jul 2011 07:38:33 +0000 (+0000) Subject: Embryo : embryo_cc_sc1.c : delete temporary files on Windows X-Git-Tag: 2.0_alpha~11^2~34 X-Git-Url: http://review.tizen.org/git/?p=framework%2Fuifw%2Fembryo.git;a=commitdiff_plain;h=32ef9d82663b13f052d751b62bb36eaa77e6df97 Embryo : embryo_cc_sc1.c : delete temporary files on Windows git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/embryo@61420 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/ChangeLog b/ChangeLog index 5263bc1..38b7089 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,11 @@ 2011-01-29 Carsten Haitzler (The Rasterman) 1.0.0 release - + 2011-05-12 Carsten Haitzler (The Rasterman) * Make embryo_cc use eina and eina_prefix to determine include location + +2011-07-16 Vincent Torri + + * delete temporary files on Windows diff --git a/src/bin/embryo_cc_sc1.c b/src/bin/embryo_cc_sc1.c index 22f3f5e..eee2803 100644 --- a/src/bin/embryo_cc_sc1.c +++ b/src/bin/embryo_cc_sc1.c @@ -304,8 +304,6 @@ sc_compile(int argc, char *argv[]) if (fd_out < 0) error(101, outfname); - unlink (outfname); /* kill this file as soon as it's (f)close'd */ - setconfig(argv[0]); /* the path to the include files */ lcl_ctrlchar = sc_ctrlchar; lcl_packstr = sc_packstr; @@ -409,6 +407,7 @@ sc_compile(int argc, char *argv[]) } /* if */ if (outf) sc_closeasm(outf); + unlink (outfname); if (binf) sc_closebin(binf, errnum != 0);