Simon Josefsson wrote: > That doesn't make much sense to me. IMHO, the 'strftime' module should > provide a 'strftime' function.
Jim Meyering wrote: > nstrftime is not in glibc. > It's been in use (at least in coreutils) since GNU date started > supporting the %N format in 2002. To make things straightforwardly understandable, IMO we need 3 modules: - strftime-posix, which defines a POSIX compliant strftime(), i.e. which provides a substitution on mingw. - strftime-gnu, which defines an strftime() with the same extensions as documented in glibc, i.e. it provides a substitute on all systems except glibc, - strftime-gnu-ext, which provides the nstrftime() function. The source code (lib/strftime.c) should be mostly unchanged; most work will go into the autoconf macros. What do you think? Bruno