mirror of
https://github.com/golang/go
synced 2024-11-22 04:34:39 -07:00
gc: fix [568]g -V crash
R=lvd CC=golang-dev https://golang.org/cl/5314060
This commit is contained in:
parent
f777be8f83
commit
8b92066e31
@ -229,7 +229,7 @@ main(int argc, char *argv[])
|
|||||||
p = expstring();
|
p = expstring();
|
||||||
if(strcmp(p, "X:none") == 0)
|
if(strcmp(p, "X:none") == 0)
|
||||||
p = "";
|
p = "";
|
||||||
print("%cg version %s%s%s%s\n", thechar, getgoversion(), *p ? " " : "", p);
|
print("%cg version %s%s%s\n", thechar, getgoversion(), *p ? " " : "", p);
|
||||||
exits(0);
|
exits(0);
|
||||||
} ARGEND
|
} ARGEND
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user