mirror of https://github.com/golang/go.git
previous change was a nit too aggressive - regular comparison should apply when comparing
internal symbol names SVN=124461
This commit is contained in:
parent
4061a7e9c7
commit
deaac9800f
|
|
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in New Issue