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

@gopherbot gopherbot commented Nov 18, 2014

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

@ianlancetaylor ianlancetaylor commented Nov 18, 2014

Comment 1:

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

@gopherbot
Copy link
Author

@gopherbot gopherbot commented Dec 1, 2014

Comment 2:

CL https://golang.org/cl/179610043 mentions this issue.
@gopherbot gopherbot added new labels Dec 1, 2014
@bradfitz bradfitz modified the milestone: Go1.5 Dec 16, 2014
@robpike robpike closed this in f3c85c5 Dec 22, 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
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.