[Top][All Lists]

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

bug with built-in printf

From: Botte, James - James M
Subject: bug with built-in printf
Date: Thu, 30 Nov 2006 16:33:31 -0500

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'
-DPACKAGE='bash' -DSHELL  -DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib
-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


Using printf with a large integer results in incorrect conversion to


printf "%08X" 2604292517

On this version results in the incorrect string "-64C5A65B".

On bash "version 2.05a.0(1)-release (powerpc-ibm-aix4.3)" the correct
result "9B3A59A5" is returned. On bash "version 3.00.0(1)-release
(i586-suse-linux)" the correct result is returned. Using the GNU printf
program 5.97 on AIX results in the correct value being output.


None attempted... sorry.

reply via email to

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