OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Delete temporary output files.
[pf3gnuchains/gcc-fork.git]
/
lto-plugin
/
lto-plugin.c
diff --git
a/lto-plugin/lto-plugin.c
b/lto-plugin/lto-plugin.c
index
c82f50d
..
4f0f833
100644
(file)
--- a/
lto-plugin/lto-plugin.c
+++ b/
lto-plugin/lto-plugin.c
@@
-538,6
+538,12
@@
cleanup_handler (void)
check (t == 0, LDPL_FATAL, "could not unlink output file");
}
+ for (i = 0; i < num_output_files; i++)
+ {
+ t = unlink (output_files[i]);
+ check (t == 0, LDPL_FATAL, "could not unlink output file");
+ }
+
free_2 ();
return LDPS_OK;
}