projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
fa7f749
)
The DOSish branch of File::stat->cando had its arguments wrong.
unknown [Thu, 26 Mar 2009 15:43:27 +0000 (15:43 +0000)]
lib/File/stat.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/File/stat.pm
b/lib/File/stat.pm
index
630fae1
..
bdf3aad
100644
(file)
--- a/
lib/File/stat.pm
+++ b/
lib/File/stat.pm
@@
-78,7
+78,7
@@
sub _ingroup {
if (grep $^O eq $_, qw/os2 MSWin32 dos/) {
# from doio.c
- *cando = sub { ($_[0] & $_[2][2]) ? 1 : "" };
+ *cando = sub { ($_[0][2] & $_[1]) ? 1 : "" };
}
else {