From owner-cvs-src@FreeBSD.ORG Tue Jan 3 09:17:21 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF0F016A41F; Tue, 3 Jan 2006 09:17:21 +0000 (GMT) (envelope-from brian@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C06843D5D; Tue, 3 Jan 2006 09:17:07 +0000 (GMT) (envelope-from brian@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k039H4VB060912; Tue, 3 Jan 2006 09:17:04 GMT (envelope-from brian@repoman.freebsd.org) Received: (from brian@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k039H4pC060911; Tue, 3 Jan 2006 09:17:04 GMT (envelope-from brian) Message-Id: <200601030917.k039H4pC060911@repoman.freebsd.org> From: Brian Somers Date: Tue, 3 Jan 2006 09:17:04 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.bin/su su.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2006 09:17:21 -0000 brian 2006-01-03 09:17:04 UTC FreeBSD src repository Modified files: usr.bin/su su.c Log: Fix the other su bug reintroduced two commits ago, namely $ su % kill -STOP $$ where su is executing (t)csh. csh's job handling is a little more special than that of (a)sh, bash and even zsh and blows up a little more spectacularly. This modification restores the original mucking about with the tty pgrp, but is careful to only do it when su (or su's child) is the foreground process. While I'm here, fix a STDERR_FILENO spelling as suggested by bde. Revision Changes Path 1.79 +14 -1 src/usr.bin/su/su.c