diff options
author | Robin Barker <RMBarker@cpan.org> | 2001-04-09 15:58:04 +0100 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-04-09 13:07:53 +0000 |
commit | 96fa62ad548d6e808f1530052e817f845408c4bb (patch) | |
tree | c978c69981a85608dc140aa284b67739abcad9a4 /sv.c | |
parent | 199d4a26d48e1b7e74e11764ce528d26a727b369 (diff) | |
download | perl-96fa62ad548d6e808f1530052e817f845408c4bb.tar.gz |
Re: [PATCH perl@9424] isn't numeric warning
Message-Id: <200104091358.OAA24811@tempest.npl.co.uk>
(This corrects the case where the "isn't numeric" string contains \0s
and is longer than the temporary buffer, and contains \0 at the point
the string would be truncated by "...".)
p4raw-id: //depot/perl@9660
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1469,7 +1469,7 @@ S_not_a_number(pTHX_ SV *sv) *d++ = toCTRL(ch); } } - if (*s) { + if (*s < end) { *d++ = '.'; *d++ = '.'; *d++ = '.'; |