summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/kern/sys_pipe.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c
index 42060795d7c..a37550e7e80 100644
--- a/sys/kern/sys_pipe.c
+++ b/sys/kern/sys_pipe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sys_pipe.c,v 1.17 1999/07/15 14:07:41 art Exp $ */
+/* $OpenBSD: sys_pipe.c,v 1.18 1999/10/27 07:38:19 niklas Exp $ */
/*
* Copyright (c) 1996 John S. Dyson
@@ -342,6 +342,8 @@ pipeselwakeup(cpipe)
cpipe->pipe_state &= ~PIPE_SEL;
selwakeup(&cpipe->pipe_sel);
}
+ if ((cpipe->pipe_state & PIPE_ASYNC) && cpipe->pipe_pgid != NO_PID)
+ gsignal(cpipe->pipe_pgid, SIGIO);
}
/* ARGSUSED */