diff options
author | Andrey Ponomarenko <aponomarenko@rosalab.ru> | 2013-06-28 15:32:28 +0400 |
---|---|---|
committer | Andrey Ponomarenko <aponomarenko@rosalab.ru> | 2013-06-28 15:32:28 +0400 |
commit | 13bb033145ee96b66128046473bfa6b238cf0a48 (patch) | |
tree | cee0fab2893fc045d02030c7a027875e05c5f20f /abi-compliance-checker.pl | |
parent | e3a8d81ab0e2aeefe91205d96c2edeec14749ec7 (diff) | |
download | abi-compliance-checker-13bb033145ee96b66128046473bfa6b238cf0a48.tar.gz |
Fixed auto-search of include paths
Diffstat (limited to 'abi-compliance-checker.pl')
-rwxr-xr-x | abi-compliance-checker.pl | 9 |
1 files changed, 5 insertions, 4 deletions
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) |