diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1996-08-12 19:04:24 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1996-08-12 19:04:24 +0000 |
| commit | 38378332f6b8c8e2b3ba80000133f32b54b2b40d (patch) | |
| tree | 502d3ea776c2668f4d3c601fd36e85d700a3e416 /gnu/lib/libregex/regex.c | |
| parent | acd9f20695641b6fabbb8f50078146f0171a1a93 (diff) | |
Notes
Diffstat (limited to 'gnu/lib/libregex/regex.c')
| -rw-r--r-- | gnu/lib/libregex/regex.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/lib/libregex/regex.c b/gnu/lib/libregex/regex.c index 7f4b0aedd833..956d2f5bd7b6 100644 --- a/gnu/lib/libregex/regex.c +++ b/gnu/lib/libregex/regex.c @@ -126,7 +126,7 @@ init_syntax_once () #endif /* not emacs */ #ifdef __FreeBSD__ -#include "collate.h" +#include <locale.h> #endif /* Get the interface, including the syntax bits. */ @@ -2320,7 +2320,7 @@ compile_range (p_ptr, pend, translate, syntax, b) /* If the start is after the end, the range is empty. */ #ifdef __FreeBSD__ - if (__collcmp (range_start, range_end) > 0) + if (collate_range_cmp (range_start, range_end) > 0) #else if (range_start > range_end) #endif @@ -2328,8 +2328,8 @@ compile_range (p_ptr, pend, translate, syntax, b) #ifdef __FreeBSD__ for (this_char = 0; this_char < 1 << BYTEWIDTH; this_char++) - if ( __collcmp(range_start, this_char) <= 0 - && __collcmp(this_char, range_end) <= 0 + if ( collate_range_cmp (range_start, this_char) <= 0 + && collate_range_cmp (this_char, range_end) <= 0 ) { SET_LIST_BIT (TRANSLATE (this_char)); } |
