From owner-cvs-all@FreeBSD.ORG Tue Nov 4 06:51:35 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C6CAF16A4CE; Tue, 4 Nov 2003 06:51:35 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48F2C43FAF; Tue, 4 Nov 2003 06:51:35 -0800 (PST) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hA4EpZXJ026974; Tue, 4 Nov 2003 06:51:35 -0800 (PST) (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hA4EpY2V026973; Tue, 4 Nov 2003 06:51:34 -0800 (PST) (envelope-from davidxu) Message-Id: <200311041451.hA4EpY2V026973@repoman.freebsd.org> From: David Xu Date: Tue, 4 Nov 2003 06:51:34 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/su su.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2003 14:51:35 -0000 davidxu 2003/11/04 06:51:34 PST FreeBSD src repository Modified files: usr.bin/su su.c Log: Be sure to restore foreground group to parent su before parent su exits, otherwise shell will be confused and does not set foreground group correctly for next su command. This sounds like a bug in sh. Revision Changes Path 1.71 +2 -1 src/usr.bin/su/su.c