1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-27 02:56:18 -04:00

[signals] EINTRLOOP for consistence

This commit is contained in:
Witold Filipczyk 2024-03-17 11:03:48 +01:00
parent 86285f9f66
commit c1d4d7d9bc

View File

@ -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