From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22043 invoked by alias); 11 Jan 2015 05:46:27 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 34229 Received: (qmail 10293 invoked from network); 11 Jan 2015 05:46:14 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-Authority-Analysis: v=2.1 cv=X+5rdgje c=1 sm=1 tr=0 a=409km5Jzyi9hcadZZk99kQ==:117 a=409km5Jzyi9hcadZZk99kQ==:17 a=Hpgzp-inWqAA:10 a=N659UExz7-8A:10 a=vxeukoggxOYUlsntej0A:9 a=pILNOxqGKmIA:10 Message-id: <54B20E23.8090900@eastlink.ca> Date: Sat, 10 Jan 2015 21:46:11 -0800 From: Ray Andrews User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.3.0 MIME-version: 1.0 To: zsh-workers@zsh.org Subject: Re: PATCH: hist: remove wrong NULL terminator References: <1420807419-9270-1-git-send-email-mikachu@gmail.com> <54B013C5.6090307@eastlink.ca> <54B04A7A.1010402@eastlink.ca> <20150109223028.6e003bff@ntlworld.com> <54B066C5.3010008@eastlink.ca> <54B0D893.4080202@eastlink.ca> <510FB8E2-EA0C-4582-BD31-527E9755F0FB@larryv.me> <54B1ACA3.1050001@eastlink.ca> <150110175849.ZM21774@torch.brasslantern.com> In-reply-to: <150110175849.ZM21774@torch.brasslantern.com> Content-type: text/plain; charset=windows-1252; format=flowed Content-transfer-encoding: 7bit On 01/10/2015 05:58 PM, Bart Schaefer wrote: > On Jan 10, 2:50pm, Ray Andrews wrote: > } > } Looks like we need more testers? That's me! > > OK, I'll bite. Exactly what test would you have applied that would have > found that stray assignment? > > Not that it wouldn't be good to have someone doing testing / writing new > cases for Test/*.ztst. > I'm speaking in the most general terms, not about anything in particular. As I become more competent, I'll test the hell out of everything. I'd like to know how this Coverity thing works it seems fantastic. Speaking of testing, I can't get modulus to work nohow. $ echo $(( 2.5 )); 2.5 $ echo $(( 2.5 % 2 )); 0 ... If I'm doing something stupid there ... That's with force_float. Modulus with integers is fine. Other operators fine.