From: Richard Levitte Date: Mon, 5 Sep 2016 22:48:13 +0000 (+0200) Subject: Correct detection of group end in map file when testing symbol presence X-Git-Tag: OpenSSL_1_1_0a~82 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f52d16ac1d0f0bc3a13e32cc62dcbd4fed4ac649;p=oweals%2Fopenssl.git Correct detection of group end in map file when testing symbol presence Reviewed-by: Matt Caswell (cherry picked from commit 77a42b5f177e308233ab108806c48b9590a780e2) --- diff --git a/test/recipes/01-test_symbol_presence.t b/test/recipes/01-test_symbol_presence.t index dbd4b1008d..7f2a2d75b8 100644 --- a/test/recipes/01-test_symbol_presence.t +++ b/test/recipes/01-test_symbol_presence.t @@ -69,6 +69,7 @@ foreach my $libname (@libnames) { map { s|;||; s|\s+||g; $_ } grep { $in_global = 1 if m|global:|; $in_global = 0 if m|local:|; + $in_global = 0 if m|\}|; $in_global && m|;|; } @def_lines; note "Number of lines in \@nm_lines after massaging: ", scalar @nm_lines;