mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +00:00
After removing collation for [a-z] ranges in r302512, do it here too.
I'll try to keep the change very minimal to not touch contribed code much. I'll send it upstream when it will be merged to main branches, but we need the change right now here.
This commit is contained in:
parent
e2d8dbe438
commit
1d148a7c3f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=302742
@ -296,7 +296,11 @@ static int collate_range_cmp(int a, int b)
|
||||
return 0;
|
||||
s[0][0] = a;
|
||||
s[1][0] = b;
|
||||
#ifdef __FreeBSD__
|
||||
return (strcmp(s[0], s[1]));
|
||||
#else
|
||||
return (strcoll(s[0], s[1]));
|
||||
#endif
|
||||
}
|
||||
|
||||
char *cclenter(const char *argp) /* add a character class */
|
||||
|
Loading…
Reference in New Issue
Block a user