summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-25 01:42:36 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-25 01:42:36 +0000
commitf5d7816f3c881070b63fb9f228df73319dd5abb8 (patch)
tree0cd2b81632aed8d195de4e172ba8c1f86653fabb
parent5fe5b17901d6117361d0f3c9bdea54aa4733d124 (diff)
downloadruby-f5d7816f3c881070b63fb9f228df73319dd5abb8.tar.gz
ruby-f5d7816f3c881070b63fb9f228df73319dd5abb8.tar.xz
ruby-f5d7816f3c881070b63fb9f228df73319dd5abb8.zip
* transcode.c (rb_econv_open_exc): constified.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--transcode.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 82efc0cf6..fcf001445 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 7fb5cb924..519c2f8c6 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) {