summaryrefslogtreecommitdiff
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
commit8c6040edcabafbebc2afd54b9da6a4e98bff863f (patch)
tree0cd2b81632aed8d195de4e172ba8c1f86653fabb
parent12e61c83cb5527fdf47d1cfd69919f003e8cf8c7 (diff)
* transcode.c (rb_econv_open_exc): constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/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 82efc0cf6f..fcf0014454 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 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) {