mirror of https://github.com/YosysHQ/yosys.git
Update abc to fix bug
This commit is contained in:
parent
b19948b03a
commit
b03f73653f
|
|
@ -188,8 +188,11 @@ struct AbcProcess
|
|||
~AbcProcess() {
|
||||
if (pid == 0)
|
||||
return;
|
||||
if (to_child_pipe >= 0)
|
||||
if (to_child_pipe >= 0) {
|
||||
static const char quit_cmd[] = "quit\n";
|
||||
if (write(to_child_pipe, quit_cmd, sizeof(quit_cmd) - 1)) {}
|
||||
close(to_child_pipe);
|
||||
}
|
||||
int status;
|
||||
int ret = waitpid(pid, &status, 0);
|
||||
if (ret != pid) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue