Re: bug#54785: for floating point, printf should use double like in C instead of long double

2022-04-30 Thread Vincent Lefevre
On 2022-04-29 16:16:28 -0700, Paul Eggert wrote: > On 4/29/22 13:04, Chet Ramey wrote: > > I think I'm going to stick with the behavior I proposed, fixing the POSIX > > conformance issue and preserving backwards compatibility, until I hear more > > about whether backwards compatibility is an issue

Re: bash does not run exit traps if the last command is a kill builtin that kills bash (`kill "$$"')

2022-04-30 Thread Chet Ramey
On 4/29/22 12:58 PM, Emanuele Torre wrote: Bash Version: 5.1 Patch Level: 16 Release Status: release Description: Bash does not run `EXIT' traps if the last command is the kill builtin kills that kills the shell. Thanks for the report. This only affects -c command execution w

Re: bug#54785: for floating point, printf should use double like in C instead of long double

2022-04-30 Thread Paul Eggert
On 4/30/22 05:48, Vincent Lefevre wrote: Yes, but to be clear, POSIX says: shall be evaluated as if by the strtod() function if the corresponding conversion specifier is a, A, e, E, f, F, g, or G so the number should be regarded as a double-precision number (type double). Yes, but POSIX