From d23ad48af91a28b97923475c9e9d8daec5b44d99 Mon Sep 17 00:00:00 2001 From: jdolecek Date: Fri, 16 Aug 2002 10:32:12 +0000 Subject: [PATCH] use 'pid_t' for pipe_pgid, rather that 'gid_t' this fixes the code in pipeselwakeup() to properly send signal to process group Problem found by Anders Magnusson, using gcc 3.2 with pdp-10 target. --- sys/sys/pipe.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/sys/pipe.h b/sys/sys/pipe.h index 04e864a08a30..9d2a9ec72005 100644 --- a/sys/sys/pipe.h +++ b/sys/sys/pipe.h @@ -1,4 +1,4 @@ -/* $NetBSD: pipe.h,v 1.11 2002/03/13 20:51:37 jdolecek Exp $ */ +/* $NetBSD: pipe.h,v 1.12 2002/08/16 10:32:12 jdolecek Exp $ */ /* * Copyright (c) 1996 John S. Dyson @@ -137,7 +137,7 @@ struct pipe { struct timeval pipe_atime; /* time of last access */ struct timeval pipe_mtime; /* time of last modify */ struct timeval pipe_ctime; /* time of status change */ - gid_t pipe_pgid; /* process group for sigio */ + pid_t pipe_pgid; /* process group for sigio */ struct lock pipe_lock; /* pipe lock */ #endif struct pipe *pipe_peer; /* link with other direction */