diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-31 03:23:55 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-31 03:23:55 +0000 |
commit | 1c30bc4cca5a3f02f42f1c857c0ee74bb13a2d09 (patch) | |
tree | 69c4d5243a7a57a9096e965ba8e1ab8da461105f /pack.c | |
parent | 42a483d392e5c36182be99716618d139841903b3 (diff) | |
download | ruby-1c30bc4cca5a3f02f42f1c857c0ee74bb13a2d09.tar.gz |
* pack.c (pack_unpack): upper half of hexdigits has never been used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'pack.c')
-rw-r--r-- | pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1291,7 +1291,7 @@ infected_str_new(const char *ptr, long len, VALUE str) static VALUE pack_unpack(VALUE str, VALUE fmt) { - static const char *hexdigits = "0123456789abcdef0123456789ABCDEFx"; + static const char hexdigits[] = "0123456789abcdef"; char *s, *send; char *p, *pend; VALUE ary; |