]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: Make verbose messages print to stderr
authorPieter Droogendijk <pieter@binky.org.uk>
Fri, 6 Jul 2012 05:00:18 +0000 (15:00 +1000)
committerAlex Brainman <alex.brainman@gmail.com>
Fri, 6 Jul 2012 05:00:18 +0000 (15:00 +1000)
commit34b10d7482b4a83cf066c313a201503126393293
treec015134ab86cf272c96a120a42ee67406c517bda
parentb213891c06aece21cdfe0e8ebb672f061bb2d7e2
cmd/dist: Make verbose messages print to stderr

Made the following changes:
 - Export errprintf() from all three OS-specific modules
 - Added errprintf() to a.h
 - Moved errprintf() in windows.c under xprintf(), since they are so similar
 - Replaced all instances of xprintf() with errprintf() where a vflag check is done
Fixes #3788.

R=golang-dev, alex.brainman
CC=golang-dev
https://golang.org/cl/6346056
src/cmd/dist/a.h
src/cmd/dist/build.c
src/cmd/dist/plan9.c
src/cmd/dist/unix.c
src/cmd/dist/windows.c