From deaac9800fc24c8ae50b089ed9e929d00a53ba89 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Tue, 24 Jun 2008 21:44:48 -0700 Subject: [PATCH] previous change was a nit too aggressive - regular comparison should apply when comparing internal symbol names SVN=124461 --- src/libmach_amd64/sym.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libmach_amd64/sym.c b/src/libmach_amd64/sym.c index e89a2a6690e..e43111546eb 100644 --- a/src/libmach_amd64/sym.c +++ b/src/libmach_amd64/sym.c @@ -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); } /*