Skip to content

Commit

Permalink
Fix error message to not always say 'bad file descriptor'
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed Mar 17, 2012
1 parent 670b321 commit a9923d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web-lib-funcs.pl
Expand Up @@ -8230,10 +8230,10 @@ sub open_tempfile
else {
$main::open_temphandles{$fh} = $file;
}
binmode($fh);
if (!$ex && !$noerror) {
&error(&text("efileopen", $file, $!));
}
binmode($fh);
return $ex;
}
elsif ($file =~ /^>\s*(([a-zA-Z]:)?\/.*)$/ && $notemp) {
Expand Down

0 comments on commit a9923d6

Please sign in to comment.