Descriptionscan: permit base prefixes 0nnn and 0xnn when scanning
signed or unsigned integers using %v or the formatless scanner.
That is, Sscan("0x11", &i) or Sscanf("0x11", "%v", &i) will now
set i to 17. If a format other than %v is presented, the behavior
is as before.
Fixes issue 1469.
Patch Set 1 #Patch Set 2 : diff -r f37c651d8774 https://go.googlecode.com/hg/ #
Total comments: 1
Patch Set 3 : diff -r 8e19d9fd1e6f https://go.googlecode.com/hg/ #
MessagesTotal messages: 4
|