mirror of
https://github.com/moparisthebest/curl
synced 2024-11-17 06:55:02 -05:00
tests/badsymbols.pl: when opening '$incdir' fails include it in the error message
This commit is contained in:
parent
e6f4ab3477
commit
e11e5b2d46
@ -132,7 +132,7 @@ sub scanheader {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
opendir(my $dh, $incdir) || die "Can't opendir: $!";
|
opendir(my $dh, $incdir) || die "Can't opendir $incdir: $!";
|
||||||
my @hfiles = grep { /\.h$/ } readdir($dh);
|
my @hfiles = grep { /\.h$/ } readdir($dh);
|
||||||
closedir $dh;
|
closedir $dh;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user