summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
authorMarc Alexander Lehmann <libev@schmorp.de>2015-10-11 13:38:44 +0000
committerMarc Alexander Lehmann <libev@schmorp.de>2015-10-11 13:38:44 +0000
commit4e4d63fd8731213fa1ab34c712ce22400ce8c676 (patch)
tree32495e8717a4de4f7ba09dc527fc96816c9db8a5 /ev.c
parent7cfeb54bef25e9f8911740f10225b98aedfaf945 (diff)
downloadlibev-4e4d63fd8731213fa1ab34c712ce22400ce8c676.tar.gz
libev-4e4d63fd8731213fa1ab34c712ce22400ce8c676.zip
*** empty log message ***
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ev.c b/ev.c
index 6a89fbd..5489ee5 100644
--- a/ev.c
+++ b/ev.c
@@ -2918,7 +2918,7 @@ loop_fork (EV_P)
#endif
#if EV_SIGNAL_ENABLE || EV_ASYNC_ENABLE
- if (ev_is_active (&pipe_w))
+ if (ev_is_active (&pipe_w) && postfork != 2)
{
/* pipe_write_wanted must be false now, so modifying fd vars should be safe */