[prev in list] [next in list] [prev in thread] [next in thread]
List: openbsd-bugs
Subject: Re: system/4419: math for ksh doesn't understand 08
From: Mats O Jansson <maja () cntw ! com>
Date: 2005-07-31 23:05:02
Message-ID: 200507312305.j6VN52Ss010256 () cvs ! openbsd ! org
[Download RAW message or body]
The following reply was made to PR system/4419; it has been noted by GNATS.
From: Mats O Jansson <maja@cntw.com>
To: Han Boetes <han@mijncomputer.nl>
Cc: gnats@openbsd.org, GNATS Filer <gnats@cvs.openbsd.org>,
bugs@cvs.openbsd.org
Subject: Re: system/4419: math for ksh doesn't understand 08
Date: Mon, 1 Aug 2005 00:54:58 +0200 (MET DST)
Leading 0 seems to sugest octal. check 77 and 077 which will result in
76 and 62.
-moj
On 31 Jul 2005, Han Boetes wrote:
> >Number: 4419
> >Category: system
> >Synopsis: math for ksh doesn't understand 08
> >Confidential: yes
> >Severity: critical
> >Priority: high
> >Responsible: bugs
> >State: open
> >Quarter:
> >Keywords:
> >Date-Required:
> >Class: sw-bug
> >Submitter-Id: net
> >Arrival-Date: Sun Jul 31 22:30:01 GMT 2005
> >Closed-Date:
> >Last-Modified:
> >Originator:
> >Release: latest snapshot 31-07-05
> >Organization:
> net
> >Environment:
>
> System : OpenBSD 3.7
> Architecture: OpenBSD.i386
> Machine : i386
> >Description:
>
> $ echo $((8-1))
> 7
> $ echo $((08-1))
> ksh: 08-1: bad number `08'
>
>
>
> >How-To-Repeat:
> press ctrl-p and then ctrl-m
>
> >Fix:
> unknown
>
>
> >Release-Note:
> >Audit-Trail:
> >Unformatted:
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic