Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fmt: *scanf functions can't read slice when ':' is in format string #9124

Closed
gopherbot opened this issue Nov 18, 2014 · 2 comments
Closed

fmt: *scanf functions can't read slice when ':' is in format string #9124

gopherbot opened this issue Nov 18, 2014 · 2 comments
Milestone

Comments

@gopherbot
Copy link

by KrHubert:

What does 'go version' print?
go version
go version go1.3.3 linux/amd64

What steps reproduce the problem?
If possible, include a link to a program on play.golang.org.
http://play.golang.org/p/RoXhzBasyW

What happened?
fmt.Sscanf dosen't read the byte array when ':' follows '%x' in format string.

What should have happened instead?
fmt.Sscanf should read it or there should be info in documentatino about special meaning
of ':' character

Please provide any additional information below.
@ianlancetaylor
Copy link
Contributor

Comment 1:

Labels changed: added repo-main, release-go1.5.

@gopherbot
Copy link
Author

Comment 2:

CL https://golang.org/cl/179610043 mentions this issue.

@bradfitz bradfitz modified the milestone: Go1.5 Dec 16, 2014
@golang golang locked and limited conversation to collaborators Jun 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants