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
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Delay loading Test::More
[perl5.git]
/
pp_sys.c
diff --git
a/pp_sys.c
b/pp_sys.c
index
54c12b3
..
501146e
100644
(file)
--- a/
pp_sys.c
+++ b/
pp_sys.c
@@
-3295,7
+3295,7
@@
PP(pp_fttty)
if (GvIO(gv) && IoIFP(GvIOp(gv)))
fd = PerlIO_fileno(IoIFP(GvIOp(gv)));
else if (name && isDIGIT(*name))
- fd =
atoi(name
);
+ fd =
grok_atou(name, NULL
);
else
FT_RETURNUNDEF;
if (fd < 0) {