coreutils
[Top][All Lists]
Advanced

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

Re: maint: remove unnecessary inttostr usage in printf


From: Pádraig Brady
Subject: Re: maint: remove unnecessary inttostr usage in printf
Date: Tue, 30 Jul 2024 09:27:04 +0100
User-agent: Mozilla Thunderbird Beta

On 30/07/2024 05:39, Collin Funk wrote:
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'.

Nice cleanup.

Pushed.

thanks,
Pádraig



reply via email to

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