Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jan 2006 04:27:51 -0800
From:      Brian Somers <brian@FreeBSD.org>
To:        Andrey Chernov <ache@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Brian Somers <brian@FreeBSD.org>, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/su su.c
Message-ID:  <20060102042751.0200a731@dev.lan.Awfulhak.org>
In-Reply-To: <20060102105258.GA9555@nagual.pp.ru>
References:  <200601020946.k029kdUU053109@repoman.freebsd.org> <20060102105258.GA9555@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2 Jan 2006 13:52:58 +0300 Andrey Chernov <ache@FreeBSD.ORG> wrote:
> On Mon, Jan 02, 2006 at 09:46:39AM +0000, Brian Somers wrote:
> >     usr.bin/su           su.c 
> >   Log:
> >   Handle the case (that I just broke) where the following hangs:
> >   
> >       $ su
> >       # kill -STOP $$
> 
> You broke not only that.
> "stop $$/fg" for tcsh is broken now too (cause logout for ssh).
> (BTW, this test is from commit logs)
> 
> -- 
> http://ache.pp.ru/
> 

I've looked into this a little... csh blows up quite impressively
here were (a)sh, bash and zsh work properly.  My guess is that the
bug is in tcsh and the code removed from su was just wrong anyway.

I'll look into this further tomorrow (it's getting late here now)
and I need to be up early in the morning.  Hopefully I'll come up
with something useful soon.

-- 
Brian Somers                                          <brian@Awfulhak.org>
Don't _EVER_ lose your sense of humour !               <brian@FreeBSD.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060102042751.0200a731>