cvs commit: src/lib/libc/rpc clnt_simple.c
Peter Jeremy
PeterJeremy at optushome.com.au
Thu Oct 30 11:59:48 PST 2003
On Wed, Oct 29, 2003 at 10:32:37PM -0700, M. Warner Losh wrote:
>Yes. More correct. For the same reason that
>
> while (foo) {
> ...
> }
>
>is more correct than:
>
>top:
> if (foo) goto out;
> ...
> goto top;
>out:
>
>In that it is the more appropriate construct to use in the context.
>Even though they are both guaranteed to be the same, one is more
>correct than the other.
Just to nit-pick but the two conditional tests are complements. One
needs a '!' to make them the same.
Peter
More information about the cvs-src
mailing list