Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys use 'pid_t' for pipe_pgid, rather that 'gid_t'
details: https://anonhg.NetBSD.org/src/rev/f7ccbbb29db4
branches: trunk
changeset: 535358:f7ccbbb29db4
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Fri Aug 16 10:32:12 2002 +0000
description:
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.
diffstat:
sys/sys/pipe.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 7d7ddad3641f -r f7ccbbb29db4 sys/sys/pipe.h
--- a/sys/sys/pipe.h Fri Aug 16 09:03:36 2002 +0000
+++ b/sys/sys/pipe.h Fri Aug 16 10:32:12 2002 +0000
@@ -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 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 */
Home |
Main Index |
Thread Index |
Old Index