ruby-changes:6772
From: nobu <ko1@a...>
Date: Thu, 31 Jul 2008 12:24:24 +0900 (JST)
Subject: [ruby-changes:6772] Ruby:r18288 (ruby_1_8, trunk, mvm): * pack.c (pack_unpack): upper half of hexdigits has never been used.
nobu 2008-07-31 12:23:55 +0900 (Thu, 31 Jul 2008) New Revision: 18288 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=18288 Log: * pack.c (pack_unpack): upper half of hexdigits has never been used. Modified files: branches/mvm/ChangeLog branches/mvm/pack.c branches/ruby_1_8/ChangeLog branches/ruby_1_8/pack.c trunk/ChangeLog trunk/pack.c Index: ChangeLog =================================================================== --- ChangeLog (revision 18287) +++ ChangeLog (revision 18288) @@ -1,3 +1,7 @@ +Thu Jul 31 12:23:53 2008 Nobuyoshi Nakada <nobu@r...> + + * pack.c (pack_unpack): upper half of hexdigits has never been used. + Thu Jul 31 11:31:29 2008 Nobuyoshi Nakada <nobu@r...> * ext/syck/syck.h (ASSERT): fix typo at r18176. Index: pack.c =================================================================== --- pack.c (revision 18287) +++ pack.c (revision 18288) @@ -1291,7 +1291,7 @@ 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; Index: ruby_1_8/ChangeLog =================================================================== --- ruby_1_8/ChangeLog (revision 18287) +++ ruby_1_8/ChangeLog (revision 18288) @@ -1,3 +1,7 @@ +Thu Jul 31 12:23:53 2008 Nobuyoshi Nakada <nobu@r...> + + * pack.c (pack_unpack): upper half of hexdigits has never been used. + Thu Jul 31 11:31:29 2008 Nobuyoshi Nakada <nobu@r...> * ext/syck/syck.h (ASSERT): fix typo at r18176. Index: ruby_1_8/pack.c =================================================================== --- ruby_1_8/pack.c (revision 18287) +++ ruby_1_8/pack.c (revision 18288) @@ -1304,7 +1304,7 @@ pack_unpack(str, fmt) VALUE str, fmt; { - static const char hexdigits[] = "0123456789abcdef0123456789ABCDEFx"; + static const char hexdigits[] = "0123456789abcdef"; char *s, *send; char *p, *pend; VALUE ary; Index: mvm/ChangeLog =================================================================== --- mvm/ChangeLog (revision 18287) +++ mvm/ChangeLog (revision 18288) @@ -1,3 +1,7 @@ +Thu Jul 31 12:23:53 2008 Nobuyoshi Nakada <nobu@r...> + + * pack.c (pack_unpack): upper half of hexdigits has never been used. + Thu Jul 31 11:31:29 2008 Nobuyoshi Nakada <nobu@r...> * ext/syck/syck.h (ASSERT): fix typo at r18176. Index: mvm/pack.c =================================================================== --- mvm/pack.c (revision 18287) +++ mvm/pack.c (revision 18288) @@ -1303,7 +1303,7 @@ 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; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/