Remove charcoll() stabilization added in 1.16, it gains nothing but conflicts

with ranges.
This commit is contained in:
Andrey A. Chernov 2003-08-03 04:18:07 +00:00
parent a508a04d43
commit 761c008c99

View File

@ -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