mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* parse.y (rb_intern2): name may not be NUL-terminated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f8e1e5389f
commit
3fc180ebeb
3 changed files with 8 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Thu Jun 21 17:13:44 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* parse.y (rb_intern2): name may not be NUL-terminated.
|
||||||
|
|
||||||
Wed Jun 20 08:27:57 2007 Tanaka Akira <akr@fsij.org>
|
Wed Jun 20 08:27:57 2007 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* eval_error.h (error_print): show full stacktrace on
|
* eval_error.h (error_print): show full stacktrace on
|
||||||
|
|
2
parse.y
2
parse.y
|
@ -8420,8 +8420,8 @@ rb_symname_p(const char *name)
|
||||||
ID
|
ID
|
||||||
rb_intern2(const char *name, long len)
|
rb_intern2(const char *name, long len)
|
||||||
{
|
{
|
||||||
const char *m = name;
|
|
||||||
VALUE str = rb_str_new(name, len);
|
VALUE str = rb_str_new(name, len);
|
||||||
|
const char *m = RSTRING_PTR(str);
|
||||||
ID id;
|
ID id;
|
||||||
int last;
|
int last;
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#define RUBY_VERSION "1.9.0"
|
#define RUBY_VERSION "1.9.0"
|
||||||
#define RUBY_RELEASE_DATE "2007-06-20"
|
#define RUBY_RELEASE_DATE "2007-06-21"
|
||||||
#define RUBY_VERSION_CODE 190
|
#define RUBY_VERSION_CODE 190
|
||||||
#define RUBY_RELEASE_CODE 20070620
|
#define RUBY_RELEASE_CODE 20070621
|
||||||
#define RUBY_PATCHLEVEL 0
|
#define RUBY_PATCHLEVEL 0
|
||||||
|
|
||||||
#define RUBY_VERSION_MAJOR 1
|
#define RUBY_VERSION_MAJOR 1
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
#define RUBY_VERSION_TEENY 0
|
#define RUBY_VERSION_TEENY 0
|
||||||
#define RUBY_RELEASE_YEAR 2007
|
#define RUBY_RELEASE_YEAR 2007
|
||||||
#define RUBY_RELEASE_MONTH 6
|
#define RUBY_RELEASE_MONTH 6
|
||||||
#define RUBY_RELEASE_DAY 20
|
#define RUBY_RELEASE_DAY 21
|
||||||
|
|
||||||
#ifdef RUBY_EXTERN
|
#ifdef RUBY_EXTERN
|
||||||
RUBY_EXTERN const char ruby_version[];
|
RUBY_EXTERN const char ruby_version[];
|
||||||
|
|
Loading…
Reference in a new issue