From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29633 invoked from network); 25 Jul 2003 10:00:28 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 25 Jul 2003 10:00:28 -0000 Received: (qmail 12302 invoked by alias); 25 Jul 2003 10:00:24 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 18905 Received: (qmail 12292 invoked from network); 25 Jul 2003 10:00:23 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 25 Jul 2003 10:00:23 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [195.167.170.152] by sunsite.dk (MessageWall 1.0.8) with SMTP; 25 Jul 2003 10:0:23 -0000 Received: from zefram by bowl.fysh.org with local (Exim 3.35 #1 (Debian)) id 19fzN9-000838-00; Fri, 25 Jul 2003 11:00:23 +0100 Date: Fri, 25 Jul 2003 11:00:22 +0100 To: Chris Spiegel Cc: zsh-workers@sunsite.dk Subject: Re: Bug in zsh 4.0.7 Message-ID: <20030725100022.GE18822@fysh.org> References: <20030725094831.GA19360@midgard.spiegels> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030725094831.GA19360@midgard.spiegels> User-Agent: Mutt/1.3.28i From: Zefram 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