bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug with built-in printf


From: Chet Ramey
Subject: Re: bug with built-in printf
Date: Sun, 03 Dec 2006 21:01:28 -0500
User-agent: Thunderbird 1.5.0.8 (Macintosh/20061025)

Botte, James - James M wrote:
> NOTICE:
> All information in and attached to the e-mail(s) below may be proprietary, 
> confidential, privileged and otherwise protected from improper or erroneous 
> disclosure.  If you are not the sender's intended recipient, you are not 
> authorized to intercept, read, print, retain, copy, forward, or disseminate 
> this message.  If you have erroneously received this communication, please 
> notify the sender immediately by phone (704-758-1000) or by e-mail and 
> destroy all copies of this message (electronic, paper, or otherwise).  Thank 
> you.
> 
> Configuration Information [Automatically generated, do not change]:
> Machine: powerpc
> OS: aix5.2.0.0
> Compiler: /usr/local/bin/gcc
> Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='powerpc'
> -DCONF_OSTYPE='aix5.2.0.0' -DCO
> NF_MACHTYPE='powerpc-ibm-aix5.2.0.0' -DCONF_VENDOR='ibm'
> -DLOCALEDIR='/usr/local/share/locale'
> -DPACKAGE='bash' -DSHELL  -DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib
> -I/usr/local/include
> -g -O2
> uname output: AIX isp1 2 5 0009A22A4C00
> Machine Type: powerpc-ibm-aix5.2.0.0
> 
> Bash Version: 3.1
> Patch Level: 0
> Release Status: release
> 
> Description:
> 
> Using printf with a large integer results in incorrect conversion to
> hexadecimal.
> 
> Repeat-By:
> 
> printf "%08X" 2604292517
> 
> On this version results in the incorrect string "-64C5A65B".

Thanks.  I fixed it.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                       Live Strong.  No day but today.
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]