projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Once again syncing after too long an absence
[p5sagit/p5-mst-13.2.git]
/
ext
/
Fcntl
/
Fcntl.pm
diff --git
a/ext/Fcntl/Fcntl.pm
b/ext/Fcntl/Fcntl.pm
index
92103a1
..
c68dda1
100644
(file)
--- a/
ext/Fcntl/Fcntl.pm
+++ b/
ext/Fcntl/Fcntl.pm
@@
-201,7
+201,7
@@
sub S_ISENFMT { ( $_[0] & _S_IFMT() ) == S_IFENFMT() }
sub AUTOLOAD {
(my $constname = $AUTOLOAD) =~ s/.*:://;
- my $val = constant($constname, 0);
+ my $val = constant($constname);
if ($! != 0) {
if ($! =~ /Invalid/ || $!{EINVAL}) {
$AutoLoader::AUTOLOAD = $AUTOLOAD;