Subject: Re: goto netbsd
To: None <f22@netbsd.com.br>
From: Bang Jun-Young <junyoung@mogua.com>
List: netbsd-advocacy
Date: 09/05/2002 13:08:17
On Wed, Sep 04, 2002 at 07:33:09PM -0000, Daniel Dias Gonçálves wrote:
> # from NetBSD 1.6F
> # find /usr/src -name '*.c' | xargs grep goto | wc -l
> 32664
>
> > # from NetBSD 1.5.3
> >
> > $ find /usr/src -name '*.c' | xargs grep goto | wc -l
> > 27381
Difference between two branches are mainly because -current has two
toolchains in it.
And about 1/3 of goto's are from gnusrc:
$ find /usr/src/gnu -name '*.c' | xargs grep goto | wc -l
11450
FreeBSD-current:
23701
OpenBSD-current:
25179
Linux (kernel only):
14218
"Goto NetBSD?" No, "Goto U*ix!" :-)
Jun-Young
--
Bang Jun-Young <junyoung@mogua.com>