]> Cypherpunks repositories - gostls13.git/commit
lib9: format %#04x, 0 as 0x0000 not 000000.
authorRuss Cox <rsc@golang.org>
Wed, 23 Jul 2014 14:17:47 +0000 (10:17 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 23 Jul 2014 14:17:47 +0000 (10:17 -0400)
commitd4d50b5f01e65e664d63bd18a4e545465df03143
tree22cc353f4934b53542e13157be644ccc07c49af0
parent8b20e7bb7e843cb19538de23dbab572f0b023021
lib9: format %#04x, 0 as 0x0000 not 000000.

This matches Go's fmt.Printf instead of ANSI C's dumb rules.
It makes the -S output from C liblink match Go's liblink.

LGTM=minux
R=minux
CC=golang-codereviews
https://golang.org/cl/112600043
src/lib9/fmt/dofmt.c