зеркало из https://github.com/github/ruby.git
* version.c (MKSTR): make US-ASCII. [ruby-dev:34010]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
16f09af48b
Коммит
2a07423f9c
|
@ -1,3 +1,7 @@
|
|||
Mon Mar 10 15:53:48 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* version.c (MKSTR): make US-ASCII. [ruby-dev:34010]
|
||||
|
||||
Mon Mar 10 02:08:21 2008 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* string.c (rb_str_index): if t == s + pos, the character beginning
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include <stdio.h>
|
||||
|
||||
#define PRINT(type) puts(ruby_##type)
|
||||
#define MKSTR(type) rb_obj_freeze(rb_str_new(ruby_##type, sizeof(ruby_##type)-1))
|
||||
#define MKSTR(type) rb_obj_freeze(rb_usascii_str_new(ruby_##type, sizeof(ruby_##type)-1))
|
||||
|
||||
const char ruby_version[] = RUBY_VERSION;
|
||||
const char ruby_release_date[] = RUBY_RELEASE_DATE;
|
||||
|
|
Загрузка…
Ссылка в новой задаче