mirror of
https://github.com/rkd77/elinks.git
synced 2024-09-06 23:44:43 -04:00
[osdep] suppress warning
This commit is contained in:
parent
3d8605cb4f
commit
5c550ff2a0
@ -820,7 +820,7 @@ bgt(struct tdata *t)
|
|||||||
signal(SIGPIPE, SIG_IGN);
|
signal(SIGPIPE, SIG_IGN);
|
||||||
#endif
|
#endif
|
||||||
t->fn(t->data, t->h);
|
t->fn(t->data, t->h);
|
||||||
write(t->h, "x", 1);
|
(void)!write(t->h, "x", 1);
|
||||||
close(t->h);
|
close(t->h);
|
||||||
free(t);
|
free(t);
|
||||||
}
|
}
|
||||||
@ -854,7 +854,7 @@ start_thread(void (*fn)(void *, int), void *ptr, int l)
|
|||||||
|
|
||||||
close(p[0]);
|
close(p[0]);
|
||||||
fn(ptr, p[1]);
|
fn(ptr, p[1]);
|
||||||
write(p[1], "x", 1);
|
(void)!write(p[1], "x", 1);
|
||||||
close(p[1]);
|
close(p[1]);
|
||||||
/* We use _exit() here instead of exit(), see
|
/* We use _exit() here instead of exit(), see
|
||||||
* http://www.erlenstar.demon.co.uk/unix/faq_2.html#SEC6 for
|
* http://www.erlenstar.demon.co.uk/unix/faq_2.html#SEC6 for
|
||||||
|
Loading…
Reference in New Issue
Block a user