Commit deaac980 authored by Rob Pike's avatar Rob Pike

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

internal symbol names

SVN=124461
parent 4061a7e9
...@@ -1189,7 +1189,7 @@ symcomp(const void *a, const void *b) ...@@ -1189,7 +1189,7 @@ symcomp(const void *a, const void *b)
i = (*(Sym**)a)->value - (*(Sym**)b)->value; i = (*(Sym**)a)->value - (*(Sym**)b)->value;
if (i) if (i)
return i; return i;
return cdotstrcmp((*(Sym**)a)->name, (*(Sym**)b)->name); return strcmp((*(Sym**)a)->name, (*(Sym**)b)->name);
} }
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment