Re: [PATCH 6/6] Use file stream or format variants of stdio print functions

2024-10-22 Thread Michael Pratt
Hi Aaron, On 10/22/24 4:45 PM, Aaron Merey wrote: > Hi Michael, > > On Tue, Oct 15, 2024 at 11:10 AM Michael Pratt wrote: > > It would be nice to have patch 5 before release, > > for patch 6 doesn't matter if or when to me. > > > > Let me know if you want a v2 of either patch 5 or 6. >

Re: [PATCH 6/6] Use file stream or format variants of stdio print functions

2024-10-22 Thread Aaron Merey
Hi Michael, On Tue, Oct 15, 2024 at 11:10 AM Michael Pratt wrote: > On Monday, October 14th, 2024 at 17:30, Mark Wielaard wrote: > > > > If we are trying to be more consistent then I think I would prefer we > > use putchar, puts, and printf, instead of adding stdout to all these > > calls. > > I

Re: [PATCH 6/6] Use file stream or format variants of stdio print functions

2024-10-15 Thread Mark Wielaard
Hi Michael, On Tue, Oct 15, 2024 at 03:10:16PM +, Michael Pratt wrote: > > If we are trying to be more consistent then I think I would prefer we > > use putchar, puts, and printf, instead of adding stdout to all these > > calls. > > I don't really have a preference, you could even throw out t

Re: [PATCH 6/6] Use file stream or format variants of stdio print functions

2024-10-15 Thread Michael Pratt
Hi again, On Monday, October 14th, 2024 at 17:30, Mark Wielaard wrote: > > > If we are trying to be more consistent then I think I would prefer we > use putchar, puts, and printf, instead of adding stdout to all these > calls. I don't really have a preference, you could even throw out th

Re: [PATCH 6/6] Use file stream or format variants of stdio print functions

2024-10-14 Thread Mark Wielaard
Hi Michael, On Thu, Oct 10, 2024 at 10:27:31AM +, Michael Pratt wrote: > In many source files, putc() and fputc() and putchar() > are used interchangeably, and puts() and fputs() and printf() > are used interchangeably. > > Reducing the usage to 2 of the 3 both reduces binary size > of the fi

[PATCH 6/6] Use file stream or format variants of stdio print functions

2024-10-10 Thread Michael Pratt
In many source files, putc() and fputc() and putchar() are used interchangeably, and puts() and fputs() and printf() are used interchangeably. Reducing the usage to 2 of the 3 both reduces binary size of the final product, improves readability and searchability of the code, especially since greppi