Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
deaac980
Commit
deaac980
authored
Jun 25, 2008
by
Rob Pike
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
previous change was a nit too aggressive - regular comparison should apply when comparing
internal symbol names SVN=124461
parent
4061a7e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sym.c
src/libmach_amd64/sym.c
+1
-1
No files found.
src/libmach_amd64/sym.c
View file @
deaac980
...
@@ -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
cdot
strcmp
((
*
(
Sym
**
)
a
)
->
name
,
(
*
(
Sym
**
)
b
)
->
name
);
return
strcmp
((
*
(
Sym
**
)
a
)
->
name
,
(
*
(
Sym
**
)
b
)
->
name
);
}
}
/*
/*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment