Permalink
Browse files

Make symstore.pl die if it fails to open a symbol directory (no bug, …

…r=me).
  • Loading branch information...
TheDS committed Feb 13, 2014
1 parent b97d64c commit d4742a40d436e3d09a79e95ca9b168c957a470aa
Showing with 2 additions and 2 deletions.
  1. +2 −2 support/buildbot/symstore.pl
@@ -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);
@@ -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++)

0 comments on commit d4742a4

Please sign in to comment.