Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jun 2010 12:18:56 +0200
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        Jilles Tjoelker <jilles@stack.nl>
Cc:        Kostik Belousov <kostikbel@gmail.com>, Andrey Chernov <ache@nagual.pp.ru>, svn-src-all@FreeBSD.ORG, src-committers@FreeBSD.ORG, svn-src-head@FreeBSD.ORG
Subject:   Re: svn commit: r208868 - in head/usr.bin: bc dc
Message-ID:  <4C10BC10.3090903@FreeBSD.org>
In-Reply-To: <20100606131841.GA68034@stack.nl>
References:  <201006061136.o56Ba9tr029717@svn.freebsd.org> <20100606120004.GH83316@deviant.kiev.zoral.com.ua> <20100606121444.GA82819@nagual.pp.ru> <20100606131841.GA68034@stack.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
>
>> Yes, better use write(2) and _exit(2) here.
>>      
> I wonder if a signal handler is necessary at all here. The shell should
> print a newline after an interruption. This does not appear to work in
> sh(1) in the (default) interactive job control mode, but works in tcsh,
> bash and zsh for example.
>
>    
Yes, it was indeed a good suggestion and then we don't have to deal with 
undefined behaviour. I've just committed the fix. Thanks for the 
suggestion.

-- 
Gabor Kovesdan
FreeBSD Volunteer

EMAIL: gabor@FreeBSD.org .:|:. gabor@kovesdan.org
WEB:   http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org




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