This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f03173f
)
Let tell() report warnings on unopened filehandles
author
Rafael Garcia-Suarez
<rgs@consttype.org>
Thu, 8 Oct 2009 10:13:38 +0000
(12:13 +0200)
committer
Rafael Garcia-Suarez
<rgs@consttype.org>
Thu, 8 Oct 2009 10:13:38 +0000
(12:13 +0200)
(fixes a bug introduced by previous patch)
pp_sys.c
patch
|
blob
|
blame
|
history
diff --git
a/pp_sys.c
b/pp_sys.c
index
9a1d1b3
..
3f13dfe
100644
(file)
--- a/
pp_sys.c
+++ b/
pp_sys.c
@@
-2090,7
+2090,7
@@
PP(pp_tell)
RETURN;
}
}
- else {
+ else
if (!gv)
{
if (!errno)
SETERRNO(EBADF,RMS_IFI);
PUSHi(-1);