Re: backtrace
| From: | Sascha Schumann | Date: | Thu, 31 Aug 2000 21:21:47 +0000 |
| Subject: | Re: backtrace | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-31508@lists.php.net to get a copy of this message | ||
On Thu, 31 Aug 2000, Zeev Suraski wrote:
> On Thu, 31 Aug 2000, Sascha Schumann wrote:
>
> > The standard says otherwise.
>
> Regardless of whatever standard you pull from your sleeves, it's wrong if
> it says it doesn't :) You either misread the standard, or misread what I
> said (or the standard's dead wrong).
"A va_list cannot be traversed multiple times."
Is that correct? This is correct:
"A va_list cannot be traversed multiple times without
reinitialization."
Let's start expressing what we mean.
> That's exactly what I said - I said that this stale va_end(), with no
> assignment to complement it, caused trouble on many platforms, because
> va_end() often kills the va_list it's fed with.
s/assignment/reinitialization/ and we agree.
Please refer to my other email on why assignments don't work
well in this context.
- Sascha