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
7df571ae
Commit
7df571ae
authored
Dec 15, 2008
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
off-by-one error assigning src files to functions
R=r DELTA=2 (2 added, 0 deleted, 0 changed) OCL=21178 CL=21187
parent
5bb0c4f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
symtab.c
src/runtime/symtab.c
+2
-0
No files found.
src/runtime/symtab.c
View file @
7df571ae
...
...
@@ -195,6 +195,8 @@ dosrcline(Sym *sym)
switch
(
sym
->
symtype
)
{
case
't'
:
case
'T'
:
if
(
strcmp
(
sym
->
name
,
(
byte
*
)
"etext"
)
==
0
)
break
;
f
=
&
func
[
nf
++
];
f
->
src
=
srcstring
;
f
->
ln0
+=
lno
;
...
...
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