diff options
author | Paul Marquess <paul.marquess@btinternet.com> | 1999-04-23 00:12:08 +0100 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-05-10 03:12:37 +0000 |
commit | 6529e8bd3873e81beaa033cdb009d1440aded463 (patch) | |
tree | 91dc74de96db6217a25f49e43ad700b625236d4c | |
parent | 8ac9c18d0290aa1420a64753c37ce5c0f1523967 (diff) | |
download | perl-6529e8bd3873e81beaa033cdb009d1440aded463.tar.gz |
PATCH for small bug in scan_bin
Message-ID: <5104D4DBC598D211B5FE0000F8FE7EB29C6B45@mbtlipnt02.btlabs.bt.co.uk>
p4raw-id: //depot/perl@3354
-rw-r--r-- | util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2440,7 +2440,7 @@ scan_bin(char *start, I32 len, I32 *retlen) retval = n | (*s++ - '0'); len--; } - if (len && (*s >= '2' || *s <= '9')) { + if (len && (*s >= '2' && *s <= '9')) { dTHR; if (ckWARN(WARN_UNSAFE)) warner(WARN_UNSAFE, "Illegal binary digit '%c' ignored", *s); |