projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b9c332
)
Fixed gcc compiler warning
author
Clifford Wolf
<clifford@clifford.at>
Thu, 6 Mar 2014 15:37:19 +0000
(16:37 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Thu, 6 Mar 2014 15:37:19 +0000
(16:37 +0100)
frontends/vhdl2verilog/vhdl2verilog.cc
patch
|
blob
|
history
diff --git
a/frontends/vhdl2verilog/vhdl2verilog.cc
b/frontends/vhdl2verilog/vhdl2verilog.cc
index de3936939ada07df83c76ff4b323e0e75a48b47d..0467810e5478f28b147bc5089ef3e8a03f27b841 100644
(file)
--- a/
frontends/vhdl2verilog/vhdl2verilog.cc
+++ b/
frontends/vhdl2verilog/vhdl2verilog.cc
@@
-145,7
+145,8
@@
struct Vhdl2verilogPass : public Pass {
}
log_header("Removing temp directory `%s':\n", tempdir_name);
- system(stringf("rm -rf '%s'", tempdir_name).c_str());
+ if (system(stringf("rm -rf '%s'", tempdir_name).c_str()) != 0)
+ log_error("Execution of \"rm -rf '%s'\" failed!\n", tempdir_name);
log_pop();
}