[PATCH] applets/usage_pod.c: Prefer fputs

Raffaello D. Di Napoli rafdev at dinapo.li
Thu Feb 18 22:02:16 UTC 2021


On 02/18/21 16:56, Ron Yorston wrote:
> Raffaello D. Di Napoli wrote:
>> Somebody recently added fputs_stdout(), to save a few bytes on each
>> call like this.
> Hey!  I'm somebody!

I thought I remembered so, but I didn’t feel like searching to confirm :)


>> You should use that here as well.
> No, usage_pod is a standalone build-time tool.  It doesn't have access
> to fputs_stdout().

I see, my bad. And that also explains why everybody (including Denys) didn’t have a problem with the “wasteful” printf in the first place.


--

Raf



More information about the busybox mailing list