Remove charcoll() stabilization added in 1.16, it gains nothing but conflicts
with ranges.
This commit is contained in:
parent
a508a04d43
commit
761c008c99
@ -332,14 +332,10 @@ int
|
||||
charcoll(const void *a, const void *b)
|
||||
{
|
||||
static char sa[2], sb[2];
|
||||
int r;
|
||||
|
||||
sa[0] = *(const int *)a;
|
||||
sb[0] = *(const int *)b;
|
||||
r = strcoll(sa, sb);
|
||||
if (r == 0)
|
||||
r = *(const int *)a - *(const int *)b;
|
||||
return (r);
|
||||
return (strcoll(sa, sb));
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user