1
0
mirror of https://github.com/golang/go synced 2024-11-21 23:54:40 -07:00

previous change was a nit too aggressive - regular comparison should apply when comparing

internal symbol names

SVN=124461
This commit is contained in:
Rob Pike 2008-06-24 21:44:48 -07:00
parent 4061a7e9c7
commit deaac9800f

View File

@ -1189,7 +1189,7 @@ symcomp(const void *a, const void *b)
i = (*(Sym**)a)->value - (*(Sym**)b)->value;
if (i)
return i;
return cdotstrcmp((*(Sym**)a)->name, (*(Sym**)b)->name);
return strcmp((*(Sym**)a)->name, (*(Sym**)b)->name);
}
/*