coreutils
[Top][All Lists]
Advanced

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

maint: remove unnecessary inttostr usage in printf


From: Collin Funk
Subject: maint: remove unnecessary inttostr usage in printf
Date: Mon, 29 Jul 2024 21:39:08 -0700
User-agent: Gnus/5.13 (Gnus v5.13)

Here is a patch simplifying some printf invocations like:

    printf ("%s", intmaxtostr (value, buf));

to just use C99 conversion specifiers:

    printf ("%jd", value);

I've left ones that modify the return value (e.g. with quote) and ones
that use it for formatting like in 'ls'.

Collin

Attachment: 0001-maint-remove-unnecessary-inttostr-usage-in-printf.patch
Description: Text Data


reply via email to

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