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: [email protected] .:|:. [email protected]
WEB: http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"