projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Thou shalt not (just) match for English error messages.
[p5sagit/p5-mst-13.2.git]
/
ext
/
File
/
Glob
/
Glob.pm
diff --git
a/ext/File/Glob/Glob.pm
b/ext/File/Glob/Glob.pm
index
da331b1
..
b843a16
100644
(file)
--- a/
ext/File/Glob/Glob.pm
+++ b/
ext/File/Glob/Glob.pm
@@
-84,7
+84,7
@@
sub AUTOLOAD {
($constname = $AUTOLOAD) =~ s/.*:://;
my $val = constant($constname, @_ ? $_[0] : 0);
if ($! != 0) {
- if ($! =~ /Invalid/) {
+ if ($! =~ /Invalid/ || $!{EINVAL}) {
require AutoLoader;
$AutoLoader::AUTOLOAD = $AUTOLOAD;
goto &AutoLoader::AUTOLOAD;