mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[signals] EINTRLOOP for consistence
This commit is contained in:
parent
86285f9f66
commit
c1d4d7d9bc
@ -80,8 +80,9 @@ sig_tstp(struct terminal *term)
|
||||
if (master_pid) {
|
||||
pid_t newpid = fork();
|
||||
if (!newpid) {
|
||||
int r;
|
||||
sleep(1);
|
||||
kill(pid, SIGCONT);
|
||||
EINTRLOOP(r, kill(pid, SIGCONT));
|
||||
/* Use _exit() rather than exit(), so that atexit
|
||||
* functions are not called, and stdio output buffers
|
||||
* are not flushed. Any such things must have been
|
||||
|
Loading…
x
Reference in New Issue
Block a user