projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75a5d6b
)
workaround for OpenBSD 'stdout' implementation
author
Clifford Wolf
<clifford@clifford.at>
Sat, 3 May 2014 10:55:56 +0000
(12:55 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Sat, 3 May 2014 10:55:56 +0000
(12:55 +0200)
kernel/register.cc
patch
|
blob
|
history
diff --git
a/kernel/register.cc
b/kernel/register.cc
index cb8ad473cbf26423056e0554a6ac0cbf70205f66..5d882ab43d9ab171b30f59cbdd6a2046159fe7c9 100644
(file)
--- a/
kernel/register.cc
+++ b/
kernel/register.cc
@@
-400,7
+400,8
@@
void Backend::backend_call(RTLIL::Design *design, FILE *f, std::string filename,
if (f != NULL) {
backend_register[args[0]]->execute(f, filename, args, design);
} else if (filename == "-") {
- backend_register[args[0]]->execute(stdout, "<stdout>", args, design);
+ FILE *f_stdout = stdout; // workaround for OpenBSD 'stdout' implementation
+ backend_register[args[0]]->execute(f_stdout, "<stdout>", args, design);
} else {
if (!filename.empty())
args.push_back(filename);