Subject: Re: goto netbsd
To: None <firstname.lastname@example.org>
From: Christos Zoulas <email@example.com>
Date: 09/04/2002 21:03:06
In article <Pine.LNX.firstname.lastname@example.org>,
Jeremy C. Reed <email@example.com> wrote:
>On Wed, 4 Sep 2002 firstname.lastname@example.org wrote:
>> # from NetBSD 1.5.3
>> $ find /usr/src -name '*.c' | xargs grep goto | wc -l
>And your point is?
>Do you have specific examples why the gotos are good or bad? (And do you
>have patches to improve as needed?)
>And why is this on the advocacy mailing list?
I expect most of these are in the kernel where goto use is encouraged
to avoid code duplication in the error cleanup paths of various