[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: printf cleanup for POSIX and Bash compatibility
From: |
Jim Meyering |
Subject: |
Re: printf cleanup for POSIX and Bash compatibility |
Date: |
Thu, 08 Jul 2004 16:04:47 +0200 |
Paul Eggert <address@hidden> wrote:
> I looked at the Fedora Core 2 patches for coreutils, and noticed that
> they patched coreutils printf to ignore "ll" length specifiers in
> formats like "%lld". This reminded me of a long-ago task that I
> didn't finish with coreutils: add support to "printf" for wider
> integers, for compatibility with Bash. I looked into all the
> incompatibilities between Bash and coreutils printf (and looked at the
> POSIX spec too) and came up with the following proposed patch.
> This patch should remove the need for the Fedora Core 2 patch in
> this area.
>
> 2004-07-06 Paul Eggert <address@hidden>
>
> printf cleanup, to avoid undefined behavior, to add support for
> formats that Bash supports, and to support wide integers like
> Bash does.
Thank you!
I've applied that.