]> Savannah Git Hosting - gnulib.git/commit
nstrftime: Make %c work on native Windows again.
authorBruno Haible <bruno@clisp.org>
Wed, 5 Jun 2024 14:32:02 +0000 (16:32 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 5 Jun 2024 14:32:02 +0000 (16:32 +0200)
commitfe654687cf76a3b5341e0082806a6ba27d77137e
treed789514aaa10442cce7588f9025b091e381cecd3
parent04445460de095884f53170937d5733e74daf2552
nstrftime: Make %c work on native Windows again.

* lib/strftime.c: Include <locale.h> always. Include <wchar.h> on native
Windows.
(__strftime_internal): On native Windows, inspect the locale name like
hard_locale would do.
* modules/nstrftime (Link): Remove section.
* tests/test-nstrftime.h (locales_test): Disallow alternative that is
not culturally acceptable for French.
ChangeLog
lib/strftime.c
modules/nstrftime
tests/test-nstrftime.h