Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/miscfs/specfs spec_close: asserting that the terminal's ...
details: https://anonhg.NetBSD.org/src/rev/890f4cb1dc23
branches: trunk
changeset: 555732:890f4cb1dc23
user: pk <pk%NetBSD.org@localhost>
date: Wed Nov 26 11:33:50 2003 +0000
description:
spec_close: asserting that the terminal's process group be set if it is
associated with a session is too strong; a foreground group may go away
without being immediately replaced with another.
diffstat:
sys/miscfs/specfs/spec_vnops.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r 4c1c9e59c86a -r 890f4cb1dc23 sys/miscfs/specfs/spec_vnops.c
--- a/sys/miscfs/specfs/spec_vnops.c Wed Nov 26 11:31:11 2003 +0000
+++ b/sys/miscfs/specfs/spec_vnops.c Wed Nov 26 11:33:50 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: spec_vnops.c,v 1.73 2003/11/25 12:52:10 pk Exp $ */
+/* $NetBSD: spec_vnops.c,v 1.74 2003/11/26 11:33:50 pk Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: spec_vnops.c,v 1.73 2003/11/25 12:52:10 pk Exp $");
+__KERNEL_RCSID(0, "$NetBSD: spec_vnops.c,v 1.74 2003/11/26 11:33:50 pk Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -674,8 +674,6 @@
vp == (sess = ap->a_p->p_session)->s_ttyvp) {
sess->s_ttyvp = NULL;
if (sess->s_ttyp->t_session != NULL) {
- if (sess->s_ttyp->t_pgrp == NULL)
- panic("spec_close: no pgrp");
sess->s_ttyp->t_pgrp = NULL;
sess->s_ttyp->t_session = NULL;
SESSRELE(sess);
Home |
Main Index |
Thread Index |
Old Index