зеркало из https://github.com/github/ruby.git
* transcode.c (rb_econv_open_exc): constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
12e61c83cb
Коммит
8c6040edca
|
@ -1,3 +1,7 @@
|
|||
Mon Aug 25 10:42:18 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* transcode.c (rb_econv_open_exc): constified.
|
||||
|
||||
Mon Aug 25 07:10:21 2008 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* enc/emacs_mule.c: fix ctype.
|
||||
|
|
|
@ -1433,7 +1433,7 @@ rb_econv_open_exc(const char *senc, const char *denc, rb_econv_option_t *opts)
|
|||
if (flags & (ECONV_UNIVERSAL_NEWLINE_DECODER|
|
||||
ECONV_CRLF_NEWLINE_ENCODER|
|
||||
ECONV_CR_NEWLINE_ENCODER)) {
|
||||
char *pre = "";
|
||||
const char *pre = "";
|
||||
if (!noenc)
|
||||
rb_str_cat2(mesg, " with ");
|
||||
if (flags & ECONV_UNIVERSAL_NEWLINE_DECODER) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче