mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
minor tweak
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6851
This commit is contained in:
parent
9959083616
commit
8cdbb6e02f
@ -747,9 +747,9 @@ sub annotate_ann_files($)
|
||||
|
||||
my $opened_file = "";
|
||||
my $full_file_name = "";
|
||||
# We first try it with the empty include_dir, in case the filename has
|
||||
# the full path.
|
||||
foreach my $include_dir ("", @include_dirs) {
|
||||
# Nb: include_dirs already includes "", so it works in the case
|
||||
# where the filename has the full path.
|
||||
foreach my $include_dir (@include_dirs) {
|
||||
my $try_name = $include_dir . $src_file;
|
||||
if (open(INPUTFILE, "< $try_name")) {
|
||||
$opened_file = $try_name;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user