Commit 71387ff5 authored by Rob Pike's avatar Rob Pike Committed by Chris Broadfoot
Browse files

[release-branch.go1.5] fmt: in Scanf, %c can scan a space, so don't skip spaces at %c

In short, %c should just give you the next rune, period.
Apparently this is the design. I use the term loosely.

Fixes #12275

Change-Id: I6f30bed442c0e88eac2244d465c7d151b29cf393
Reviewed-on: https://go-review.googlesource.com/13821


Reviewed-by: default avatarAndrew Gerrand <adg@golang.org>
Reviewed-on: https://go-review.googlesource.com/14395
parent 5e1648d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment