Skip to content

Commit

Permalink
Let tell() report warnings on unopened filehandles
Browse files Browse the repository at this point in the history
(fixes a bug introduced by previous patch)
  • Loading branch information
rgs committed Oct 8, 2009
1 parent f03173f commit f4817f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pp_sys.c
Expand Up @@ -2090,7 +2090,7 @@ PP(pp_tell)
RETURN;
}
}
else {
else if (!gv) {
if (!errno)
SETERRNO(EBADF,RMS_IFI);
PUSHi(-1);
Expand Down

0 comments on commit f4817f3

Please sign in to comment.