[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: func_infer_tag() broken

From: bonzini
Subject: Re: func_infer_tag() broken
Date: Tue, 02 Mar 2004 11:32:21 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031020 Debian/1.5-1

> I've used return in a couple of places (twice with an integer return value),
> which I fear may break on old platforms.  Otherwise I've assumed that all
> shell variables are in global scope, and that positional parameters are
> stacked and restored at function call boundaries to an arbitrary nesting
> limit.

No, return is pretty safe.

It should be even with an integer return value.  If you are at the
end of a function (or in an if just before the end of the function, you
got it) it is possible to replace it with (exit NUM), but I don't see a
good reason to do so.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]