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
a18208fb
Commit
a18208fb
authored
Sep 03, 2009
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix range on invalid utf8 bug
R=r DELTA=42 (21 added, 20 deleted, 1 changed) OCL=34328 CL=34333
parent
cf336b10
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
rune.c
src/pkg/runtime/rune.c
+2
-1
bug204.go
test/fixedbugs/bug204.go
+0
-0
No files found.
src/pkg/runtime/rune.c
View file @
a18208fb
...
...
@@ -161,8 +161,9 @@ bad:
*
rune
=
Bad
;
return
1
;
badlen:
// was return 0, but return 1 is more convenient for the runtime.
*
rune
=
Bad
;
return
0
;
return
1
;
}
...
...
test/bugs/bug204.go
→
test/
fixed
bugs/bug204.go
View file @
a18208fb
File moved
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