On Mon, 1 Jul 2002, Christian Weisgerber wrote:
> Mike Barcroft <[EMAIL PROTECTED]> wrote:
> > You might want to get rid of the other misuse of `rc' above this and
> > just remove the variable.
> The use of an gratuitous int variable rc to capture return values
> is rampant throughout this code.  In fact, not using it is something
> of a violation of the local style, but in the case of signal() I
> think it's justifiable because SIG_ERR is so much neater than
> changing rc to long and messing around with explicit casts.

How about eliminating signal() all together and using sigaction()?

Dan Eischen

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to