• Austin Clements's avatar
    gc: abort if given an unknown debug (-d) flag · 516d9ef5
    Austin Clements authored
    The check for unknown command line debug flags in gc was
    incorrect: the loop over debugtab terminates when it reaches a
    nil entry, but it was only reporting an error if the parser
    had passed the last entry of debugtab (which it never did).
    Fix this by reporting the usage error if the loop reaches a
    nil entry.
    
    LGTM=rsc
    R=rsc
    CC=golang-codereviews
    https://golang.org/cl/166110043
    516d9ef5
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...