1
0
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:
Fabian Keil 2020-02-28 10:46:22 +01:00 committed by Daniel Stenberg
parent e6f4ab3477
commit e11e5b2d46
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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;