svn commit: r208868 - in head/usr.bin: bc dc

Gabor Kovesdan gabor at FreeBSD.org
Thu Jun 10 10:19:03 UTC 2010


>
>> 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 at FreeBSD.org .:|:. gabor at kovesdan.org
WEB:   http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org



More information about the svn-src-all mailing list