From 13bb033145ee96b66128046473bfa6b238cf0a48 Mon Sep 17 00:00:00 2001 From: Andrey Ponomarenko Date: Fri, 28 Jun 2013 15:32:28 +0400 Subject: Fixed auto-search of include paths --- abi-compliance-checker.pl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'abi-compliance-checker.pl') diff --git a/abi-compliance-checker.pl b/abi-compliance-checker.pl index e2064c9..77cd5ef 100755 --- a/abi-compliance-checker.pl +++ b/abi-compliance-checker.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl ########################################################################### -# ABI Compliance Checker (ACC) 1.99.4 +# ABI Compliance Checker (ACC) 1.99.5 # A tool for checking backward compatibility of a C/C++ library API # # Copyright (C) 2009-2010 The Linux Foundation @@ -64,7 +64,7 @@ use Storable qw(dclone); use Data::Dumper; use Config; -my $TOOL_VERSION = "1.99.4"; +my $TOOL_VERSION = "1.99.5"; my $ABI_DUMP_VERSION = "3.2"; my $OLDEST_SUPPORTED_VERSION = "1.18"; my $XML_REPORT_VERSION = "1.1"; @@ -19229,8 +19229,9 @@ sub checkSystemFiles() if(not $CheckObjectsOnly) { # search for headers in /usr/lib - @SysHeaders = grep { /\.h(pp|xx)?\Z|\/include\// } @Files; - @SysHeaders = grep { not /\/(gcc|jvm|syslinux|kbd|parrot|xemacs|perl|llvm)/ } @SysHeaders; + my @Headers = grep { /\.h(pp|xx)?\Z|\/include\// } @Files; + @Headers = grep { not /\/(gcc|jvm|syslinux|kbd|parrot|xemacs|perl|llvm)/ } @Headers; + push(@SysHeaders, @Headers); } # search for libraries in /usr/lib (including symbolic links) -- cgit v1.2.3