]> Cypherpunks repositories - gostls13.git/commitdiff
conflicting scopes should cause error exit
authorRob Pike <r@golang.org>
Sat, 15 Nov 2008 01:28:11 +0000 (17:28 -0800)
committerRob Pike <r@golang.org>
Sat, 15 Nov 2008 01:28:11 +0000 (17:28 -0800)
TBR=rsc
OCL=19297
CL=19297

src/cmd/ar/ar.c

index 056753ac30cef9e533f14ec8890f46459d63d3ad..7c4b7fc504b499de0dce3a2af66e269c6857eb05 100644 (file)
@@ -1519,6 +1519,7 @@ loadpkgdata(char *data, int len)
                                        fprint(2, "ar: conflicting scopes for %s\n", name);
                                        fprint(2, "%s:\t%s\n", x->file, x->export);
                                        fprint(2, "%s:\t%s\n", file, export);
+                                       errors++;
                                }
                        }
                }