Re: [PATCH] honor TIME_STYLE environment variable for formatting ls timestamp

Collin Funk <[email protected]> Thu, 13 Nov 2025 16:14:01 -0800
Newsgroups gmane.comp.gnu.findutils.bugs
Message-ID <[email protected]>
raf <[email protected]> writes:

> P.P.P.S. Of course a much simpler solution is a sanity check on
> $TIME_STYLE to ignore it if it is longer than about 64 bytes. :-)
> Then the alloca doesn't need to change.

That is an arbitray limit though. If we want to keep the stack
allocation for the common case, we can use xmalloca from Gnulib.

Collin