p4raw-id: //depot/perl@15112
# delete bogus symbols grepped out of comments and such
delete $rfuncs{setlocale_r} if $^O eq 'linux';
+my %syms;
+
for my $exe (@EXES) {
for my $sym (`$NMU $exe`) {
chomp $sym;
next if /\s/;
$sym =~ s/\@.*\z//; # remove @@GLIBC_2.0 etc
# warn "#### $sym\n";
- if (exists $rfuncs{"${sym}_r"}) {
+ if (exists $rfuncs{"${sym}_r"} && ! $syms{"$sym:$exe"}++) {
push @syms, $sym;
}
}