diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | transcode.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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. diff --git a/transcode.c b/transcode.c index 7fb5cb9244..519c2f8c61 100644 --- a/transcode.c +++ b/transcode.c @@ -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) { |