Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug in zsh 4.0.7
- X-seq: zsh-workers 18905
- From: Zefram <zefram@xxxxxxxx>
- To: Chris Spiegel <matrix@xxxxxxxxxx>
- Subject: Re: Bug in zsh 4.0.7
- Date: Fri, 25 Jul 2003 11:00:22 +0100
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <20030725094831.GA19360@xxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20030725094831.GA19360@xxxxxxxxxxxxxxxx>
Chris Spiegel wrote:
>yyval.u.l = zstrtol(++ptr, &ptr, lastbase = 16);
>
>The issue is that it's unspecified whether ++ptr or &ptr happens first.
The expression &ptr doesn't use the value of ptr (which ++ptr modifies).
The value of &ptr is unaffected by the increment. The behaviour is
perfectly well-defined.
-zefram
Messages sorted by:
Reverse Date,
Date,
Thread,
Author