]> err.no Git - util-linux/commit
lib: add fallback for nl_langinfo()
authorKarel Zak <kzak@redhat.com>
Mon, 15 Nov 2010 15:42:45 +0000 (16:42 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 15 Nov 2010 15:42:45 +0000 (16:42 +0100)
commitdc61d398ba14a38f13aeab3be9e9e09f7f117179
tree97cf17e9c52a4fb387c379ed7a40eaa3f1ff3ed6
parent97be4a37e327108e2d95ca832e71f6eda1e2d908
lib: add fallback for nl_langinfo()

The fallback ignores locales and returns hardcoded static strings. It
should be enough to include "nls.h" to work with nl_langinfo() on all
systems.

Signed-off-by: Karel Zak <kzak@redhat.com>
configure.ac
include/nls.h
lib/langinfo.c [new file with mode: 0644]