Re: [PATCH] maint: factor out the common show_date functionality

2024-05-05 Thread Pádraig Brady
On 05/05/2024 10:06, Nikolay Nechaev via GNU coreutils General Discussion wrote: Note I adjusted your email to be more standard, rather than the above: + fputs (timetostr(pdui->tmax.tv_sec, buf), stdout); `make syntax-check` indicated the missing space in timetostr(), and also a miss

[PATCH] maint: factor out the common show_date functionality

2024-05-05 Thread Nikolay Nechaev via GNU coreutils General Discussion
* src/show-date.{h,c}: declaration and definition of show_date * src/du.c: use the common show_date instead of the previous local function. * src/date.c: use the common show_date via a wrapper show_date_helper. * src/local.mk: corresponding adjustments --- src/date.c | 42 +++---