From 42cf875234802f745f330d9d78c01ddeea844f8f Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Sat, 16 Jul 2011 07:38:33 +0000 Subject: [PATCH] Embryo : embryo_cc_sc1.c : delete temporary files on Windows SVN revision: 61420 --- legacy/embryo/ChangeLog | 6 +++++- legacy/embryo/src/bin/embryo_cc_sc1.c | 3 +-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/legacy/embryo/ChangeLog b/legacy/embryo/ChangeLog index 5263bc1..38b7089 100644 --- a/legacy/embryo/ChangeLog +++ b/legacy/embryo/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/legacy/embryo/src/bin/embryo_cc_sc1.c b/legacy/embryo/src/bin/embryo_cc_sc1.c index 22f3f5e..eee2803 100644 --- a/legacy/embryo/src/bin/embryo_cc_sc1.c +++ b/legacy/embryo/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); -- 2.7.4