svn rev #24675: trunk/src/util/
ghudson@MIT.EDU
ghudson at MIT.EDU
Tue Mar 1 19:08:15 EST 2011
http://src.mit.edu/fisheye/changelog/krb5/?cs=24675
Commit By: ghudson
Log Message:
In export-check.pl, display a better error if there are duplicate
symbols in the export list.
Changed Files:
U trunk/src/util/export-check.pl
Modified: trunk/src/util/export-check.pl
===================================================================
--- trunk/src/util/export-check.pl 2011-03-01 22:21:01 UTC (rev 24674)
+++ trunk/src/util/export-check.pl 2011-03-02 00:08:14 UTC (rev 24675)
@@ -59,6 +59,10 @@
}
@found = sort @found;
while ($#export >= 0 && $#found >= 0) {
+ if ($#export >= 1 && $export[0] eq $export[1]) {
+ print STDERR "Duplicate symbol in export list: $export[0]\n";
+ exit(1);
+ }
if ($export[0] eq $found[0]) {
# print "ok $export[0]\n";
shift @export;
More information about the cvs-krb5
mailing list