Use hard_locale() to check whether collating order is "hard" regardless

of whether NLS is enabled.
This commit is contained in:
tjr 2004-07-04 10:24:48 +00:00
parent 45ff8d93d5
commit 5cae559e19

View File

@ -1364,9 +1364,7 @@ dfaparse (char const *s, size_t len, struct dfa *d)
lasttok = END;
laststart = 1;
parens = 0;
#if ENABLE_NLS
hard_LC_COLLATE = hard_locale (LC_COLLATE);
#endif
#ifdef MBS_SUPPORT
if (MB_CUR_MAX > 1)
{