Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Sep 2002 17:45:35 +0200
From:      Poul-Henning Kamp <phk@freebsd.org>
To:        current@freebsd.org
Subject:   kern_sig.c mis-indentation
Message-ID:  <31992.1033227935@critter.freebsd.dk>

next in thread | raw e-mail | index | archive | help

The indentation and the braces look rather odd in this bit of
kern_sig.c, somebody should straighten it up and check if
there are any bugs in this:

                              mi_switch();
                                mtx_unlock_spin(&sched_lock);
                                PICKUP_GIANT();
                                PROC_LOCK(p);
                                break;
                        } else
                             if (prop & SA_IGNORE) {
                                /*
                                 * Except for SIGCONT, shouldn't get here. 
                                 * Default action is to ignore; drop it.
                                 */
                                break;          /* == ignore */
                        } else
                                return (sig);
                        /*NOTREACHED*/
 

Poul-Henning

PS: Yes, another score by FlexeLint!

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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