зеркало из https://github.com/github/ruby.git
* ruby.c (set_{internal,external}_encoding_once): fixed typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
559e573cdd
Коммит
ab4e003969
|
@ -1,3 +1,7 @@
|
||||||
|
Wed Nov 4 15:46:30 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* ruby.c (set_{internal,external}_encoding_once): fixed typos.
|
||||||
|
|
||||||
Wed Nov 4 12:49:18 2009 Marc-Andre Lafortune <ruby-core@marc-andre.ca>
|
Wed Nov 4 12:49:18 2009 Marc-Andre Lafortune <ruby-core@marc-andre.ca>
|
||||||
|
|
||||||
* proc.c (mnew): Fix scope issue [ruby-core:26069]
|
* proc.c (mnew): Fix scope issue [ruby-core:26069]
|
||||||
|
|
4
ruby.c
4
ruby.c
|
@ -667,9 +667,9 @@ set_option_encoding_once(const char *type, VALUE *name, const char *e, long elen
|
||||||
}
|
}
|
||||||
|
|
||||||
#define set_internal_encoding_once(opt, e, elen) \
|
#define set_internal_encoding_once(opt, e, elen) \
|
||||||
set_option_encoding_once("default_intenal", &opt->intern.enc.name, e, elen)
|
set_option_encoding_once("default_internal", &opt->intern.enc.name, e, elen)
|
||||||
#define set_external_encoding_once(opt, e, elen) \
|
#define set_external_encoding_once(opt, e, elen) \
|
||||||
set_option_encoding_once("default_extenal", &opt->ext.enc.name, e, elen)
|
set_option_encoding_once("default_external", &opt->ext.enc.name, e, elen)
|
||||||
#define set_source_encoding_once(opt, e, elen) \
|
#define set_source_encoding_once(opt, e, elen) \
|
||||||
set_option_encoding_once("source", &opt->src.enc.name, e, elen)
|
set_option_encoding_once("source", &opt->src.enc.name, e, elen)
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче