]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: Reuse streq whenever possible.
authorThiago Fransosi Farina <thiago.farina@gmail.com>
Wed, 13 Aug 2014 13:47:30 +0000 (06:47 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 13 Aug 2014 13:47:30 +0000 (06:47 -0700)
commitaa549ce449a0edccea03b7f4912ee3f9fa9b9b38
tree46eb73c6285428b5215c70e8aa27936868349d5c
parent392bc8985e6b4b33603bfb9b546d301d3857a3cb
cmd/dist: Reuse streq whenever possible.

Basically this cleanup replaces all the usage usages of strcmp() == 0,
found by the following command line:

$ grep -R strcmp cmd/dist | grep "0"

LGTM=iant
R=iant
CC=golang-codereviews
https://golang.org/cl/123330043
src/cmd/dist/plan9.c
src/cmd/dist/unix.c
src/cmd/dist/windows.c