diff options
author | tjr <tjr@FreeBSD.org> | 2004-07-04 10:24:48 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2004-07-04 10:24:48 +0000 |
commit | 68fa9f13518916e9d3dc979c995d384f129e12d9 (patch) | |
tree | bcd15e3f93cdcfd22d244b6e29e19fed1a24aac3 /gnu | |
parent | 577b88a8066e49559db825bc0da759071178d6d0 (diff) | |
download | FreeBSD-src-68fa9f13518916e9d3dc979c995d384f129e12d9.zip FreeBSD-src-68fa9f13518916e9d3dc979c995d384f129e12d9.tar.gz |
Use hard_locale() to check whether collating order is "hard" regardless
of whether NLS is enabled.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/grep/dfa.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gnu/usr.bin/grep/dfa.c b/gnu/usr.bin/grep/dfa.c index e823d84..24a85a1 100644 --- a/gnu/usr.bin/grep/dfa.c +++ b/gnu/usr.bin/grep/dfa.c @@ -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) { |