regcomp: sync from glibc; always use nl_langinfo
authorJim Meyering <meyering@redhat.com>
Mon, 4 Jan 2010 08:07:52 +0000 (09:07 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 4 Jan 2010 14:44:12 +0000 (15:44 +0100)
commit0cfc3b87f0c3be63db1075ed465443c4b3c4cec2
treee6f4950ecb7a9c075641eb0f034c2f45c7e4cb1c
parente138cd8fc9c9465059e9d0427d0cf0669d5a8caf
regcomp: sync from glibc; always use nl_langinfo

* lib/regcomp.c (init_dfa) [!LIBC]: Always use nl_langinfo (CODESET),
now that gnulib provides it.  Recognize UTF8 as well as UTF-8.
* lib/regex_internal.h: Always include <langinfo.h>, now.
* modules/regex (Depends-on): Add nl_langinfo.
ChangeLog
lib/regcomp.c
lib/regex_internal.h
modules/regex