On 2024-02-05 00:16, Simon Josefsson wrote:
didn't see anything in your patch that would warn about usage of ctime?
Would it make sense for a gnulib ctime module to NOT replace ctime but
warn that this function should really not be used?

The time-h module does that, so there's no need for the ctime module for that.

As I recall, Gnulib's ctime module fixes some time zone issues on MS-Windows, something that's quite low priority for a function that user code shouldn't be calling anyway due to ctime's undefined behavior when the time_t arg is out of range.

Reply via email to