]> Cypherpunks repositories - gostls13.git/commitdiff
gc: spell debug['u'] correctly
authorRuss Cox <rsc@golang.org>
Thu, 16 Sep 2010 19:50:46 +0000 (15:50 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 16 Sep 2010 19:50:46 +0000 (15:50 -0400)
R=ken2
CC=golang-dev
https://golang.org/cl/2214042

src/cmd/gc/lex.c

index a01da962c6ac90e21b31ed7907ad43dbc086c20c..5d4230041cf15f854b98b4ba03318bbea2dd8831 100644 (file)
@@ -356,7 +356,7 @@ findpkg(Strlit *name)
        char *q;
 
        if(islocalname(name)) {
-               if(debug['u'])
+               if(safemode)
                        return 0;
                // try .a before .6.  important for building libraries:
                // if there is an array.6 in the array.a library,