Skip to content

Commit

Permalink
Make symstore.pl die if it fails to open a symbol directory (no bug, …
Browse files Browse the repository at this point in the history
…r=me).
  • Loading branch information
TheDS committed Feb 13, 2014
1 parent 44c047a commit b3c96d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions support/buildbot/symstore.pl
Expand Up @@ -43,7 +43,7 @@

#Lowercase DLLs. Sigh.
my (@files);
opendir(DIR, "S:\\mmsource");
opendir(DIR, "S:\\mmsource") or die "Could not open mmsource symbol folder: $!\n";
@files = readdir(DIR);
closedir(DIR);

Expand All @@ -53,7 +53,7 @@
$file = $files[$i];
next unless ($file =~ /\.dll$/);
next unless (-d "S:\\mmsource\\$file");
opendir(DIR, "S:\\mmsource\\$file");
opendir(DIR, "S:\\mmsource\\$file") or die "Could not open S:\\mmsource\\$file: $!\n";
@subdirs = readdir(DIR);
closedir(DIR);
for ($j = 0; $j <= $#subdirs; $j++)
Expand Down

0 comments on commit b3c96d9

Please sign in to comment.