bug-bash
[Top][All Lists]
Advanced

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

bash printf bug


From: Andrew Howroyd
Subject: bash printf bug
Date: Thu, 28 Aug 2003 08:52:34 -0700

Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: cygwin
Compiler: i686-pc-cygwin-gcc
Compilation
CFLAGS:  -DPROGRAM='bash.exe' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE=\
'cygwin' -DCONF_MACHTYPE='i686-pc-cygwin' -DCONF_VENDOR='pc' -DSHELL -DHAVE_
CON\
FIG_H -DRECYCLES_PIDS  -I.  -I../bash-2.05b -I../bash-2.05b/include -I../bas
h-2\
.05b/lib  -g -O2
uname output: CYGWIN_NT-5.1 SUNSHINE 1.3.17(0.67/3/2) 2002-11-27 18:54 i686
unk\
nown
Machine Type: i686-pc-cygwin

Bash Version: 2.05b
Patch Level: 0
Release Status: release

Description:
Type
    printf "%#15.4f" -5e100

Bash prints answer and then goes into an infinite loop. (100% CPU)

    /bin/printf "%#15.4f" -5e100

Does not have this problem so more likely this is something to do with bash
than the underlying C printf function.

Repeat-By:
    printf "%#15.4f" -5e100

Fix:
Sorry no information here - but if you cannot reproduce then I will do a
debug build and put it under the debugger.






reply via email to

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