The OpenBSD libc tends to ignore the LC_* except LC_CTYPE.
However, strftime(3) seems to support a LOCALE_HOME thing,
where the user overrides LC_TIME with his own names of months etc.
Looking at http://cvsweb.openbsd.org/src/lib/libc/time/strftime.c ,
it has been there since the beginning.
The manpage does not mention it; on the contrary,
The OpenBSD implementation always uses the C locale and ignores
the global locale, the thread-specific locale, and the locale argument.
On systems other than OpenBSD, the LC_TIME locale(1) category can
cause erratic output; see CAVEATS in setlocale(3) for details.
Is that code intentionally there?
The diff below removes it.
On Sat, 01 Aug 2020 17:29:11 +0200, Jan Stary wrote:
This was already committed.
date: 2020/07/16 20:08:12; author: millert; state: Exp; lines: +1 -146; commitid: LVVrFB1zB8C0gLBS;
Remove obsolete LOCALE_HOME code we have never used (and never will).
Upstream removed it in 2004. From Jan Stary.