1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=118373

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