mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Revert "Remove some previously buggy but dead code that I mistakenly resurrected"
This reverts commit 090f027de1
.
This commit is contained in:
parent
090f027de1
commit
21a751d153
1 changed files with 5 additions and 0 deletions
5
proc.cpp
5
proc.cpp
|
@ -646,6 +646,11 @@ void job_handle_signal(int signal, siginfo_t *info, void *con)
|
|||
/* This is the only place that this generation count is modified. It's OK if it overflows. */
|
||||
s_sigchld_generation_count += 1;
|
||||
got_signal = 1;
|
||||
|
||||
/* pca: I can't justify this kill() call */
|
||||
int errno_old = errno;
|
||||
kill(0, SIGIO);
|
||||
errno=errno_old;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue