]> Cypherpunks repositories - gostls13.git/commit
fmt.Fscanf: don't read past newline
authorRob Pike <r@golang.org>
Mon, 11 Jun 2012 21:52:09 +0000 (17:52 -0400)
committerRob Pike <r@golang.org>
Mon, 11 Jun 2012 21:52:09 +0000 (17:52 -0400)
commit2a0fdf6ea05dc31526e95990aadc2b327933cce1
treeb3ef12b5ddde8cd8b7eb66e766e0112492d855b8
parent49d6e490876a9bbfa5dfa27a4377b822edbf656c
fmt.Fscanf: don't read past newline
Makes interactive uses work line-by-line.
Fixes #3481.

R=golang-dev, bradfitz, r
CC=golang-dev
https://golang.org/cl/6297075
src/pkg/fmt/scan.go
src/pkg/fmt/scan_test.go