Files
mruby-mruby/src
Takashi Sogabe c2a6ff7af8 Fix wrong storage of data when hex-style string is loaded
This patch fixes corruption of data when hex-style string is
loaded.

I saw following phenomenon in an ubuntu/amd64 environment.

Test code:
str = "\x0\x1\x2\x03\x04\x05\x06\a\b\t\n\v\f\r\x0E\x0F\x10"
p str[-1] == "\0x10"

Output(binary program with mrbc -B):
false

Output(script with mruby):
true
2012-10-18 17:35:56 +09:00
..
2012-04-20 09:39:03 +09:00
2012-09-27 17:17:14 +09:00
2012-08-29 11:45:36 +09:00
2012-06-14 18:03:20 +09:00
2012-04-30 14:29:19 -07:00
2012-09-10 18:44:30 +09:00
2012-05-09 22:11:53 +09:00
2012-10-04 14:20:33 +09:00
2012-08-14 13:16:34 +09:00
2012-08-29 11:45:36 +09:00
2012-08-26 04:17:56 +09:00
2012-04-30 14:29:19 -07:00
2012-10-16 23:46:34 +09:00
2012-09-10 23:25:50 +08:00
2012-08-01 01:23:34 +09:00
2012-05-20 22:55:52 +09:00
2012-06-16 08:28:39 +09:00
2012-04-20 09:39:03 +09:00
2012-08-13 04:19:24 +09:00
2012-07-17 23:50:19 +09:00
2012-09-03 08:34:31 +09:00
2012-10-15 13:56:45 +09:00
2012-08-18 19:29:07 +09:00
2012-04-30 14:29:19 -07:00
2012-08-16 10:11:15 +02:00
2012-08-18 20:53:40 +09:00
2012-09-05 02:42:49 +09:00
2012-09-29 17:00:32 +09:00
2012-08-28 02:03:19 +09:00
2012-10-15 13:53:44 +09:00
2012-09-05 02:21:21 +09:00