• Pieter Droogendijk's avatar
    cmd/dist: Make windows.c's fatal() print to stderr · 735780c2
    Pieter Droogendijk authored
    Generating env.bat using dist env -wp > env.bat failed silently
    if case of an error, because the message was redirected to env.bat.
    Verbose messages still go to stdout, causing problems, but that's
    a seperate change.
    Made errprintf() identical to xprintf(), except for the output handle.
    Yes, it's duplicate code, but most of the function is unpacking
    the argument list and preparing it for WriteFile(), which has to be
    done anyway.
    
    R=golang-dev, alex.brainman
    CC=golang-dev
    https://golang.org/cl/6343047
    735780c2
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...