From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gatech.edu (gatech.edu [130.207.244.244]) by werple.mira.net.au (8.6.12/8.6.9) with SMTP id HAA24041 for ; Fri, 2 Jun 1995 07:23:45 +1000 Received: from math (math.skiles.gatech.edu) by gatech.edu with SMTP id AA17836 (5.65c/Gatech-10.0-IDA for ); Thu, 1 Jun 1995 17:16:53 -0400 Received: by math (5.x/SMI-SVR4) id AA05345; Thu, 1 Jun 1995 17:15:11 -0400 Resent-Date: Thu, 01 Jun 1995 17:13:46 -0400 Old-Return-Path: Message-Id: <9506012113.AA19554@redwood.skiles.gatech.edu> X-Mailer: exmh version 1.5.3 12/28/94 To: zsh-workers@math.gatech.edu Subject: Re: zstrtol/strtol breakage In-Reply-To: Your message of "Thu, 01 Jun 1995 16:47:34 EDT." <9506012047.AA19369@redwood.skiles.gatech.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Thu, 01 Jun 1995 17:13:46 -0400 From: Richard Coleman Resent-Message-Id: <"Ykv3K2.0.MJ1.UtYpl"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/62 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu > Solaris and SunOS, but are there others? If it is > broken, then the command > > echo {1..10} > > will give > > {1..10} > > rather than > > 1 2 3 4 5 6 7 8 9 10 > > You should be using beta8 or beta9 to see this > (if you have a broken strtol). oops. A broken strtol will probably give you 1..10 not {1..10} I still find it hard to believe that this would be broken on Sun for so long (I get the above result on SunOS 4.1.1/4.1.3, Solaris 2.3/2.4). I was beginning to think it was just my misunderstanding of the strtol function until I tried it on Irix 5.3 (which gives the correct result). rc