diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-08 15:01:16 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-08 15:01:16 +0000 |
commit | dbf04875812945c19e417c263407f9b7caad1a7e (patch) | |
tree | 4343aa02f3f761cc42518e937bc92306e50c2f5d | |
parent | 6270ad5b7fb3eb5293358096d993610dda283ce8 (diff) | |
download | ruby-dbf04875812945c19e417c263407f9b7caad1a7e.tar.gz |
* transcode.c (rb_econv_t): last_error.partial_input removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | transcode.c | 3 |
2 files changed, 4 insertions, 3 deletions
@@ -1,3 +1,7 @@ +Tue Sep 9 00:00:47 2008 Tanaka Akira <akr@fsij.org> + + * transcode.c (rb_econv_t): last_error.partial_input removed. + Mon Sep 8 23:24:54 2008 Tanaka Akira <akr@fsij.org> * include/ruby/encoding.h (rb_econv_asciicompat_encoding): renamed diff --git a/transcode.c b/transcode.c index 08f8bb050d..a2f804a818 100644 --- a/transcode.c +++ b/transcode.c @@ -121,7 +121,6 @@ struct rb_econv_t { const unsigned char *error_bytes_start; size_t error_bytes_len; size_t readagain_len; - int partial_input; } last_error; /* The following fields are only for Encoding::Converter. @@ -837,7 +836,6 @@ rb_econv_open_by_transcoder_entries(int n, transcoder_entry_t **entries) ec->last_error.error_bytes_start = NULL; ec->last_error.error_bytes_len = 0; ec->last_error.readagain_len = 0; - ec->last_error.partial_input = 0; ec->source_encoding = NULL; ec->destination_encoding = NULL; for (i = 0; i < ec->num_trans; i++) { @@ -1274,7 +1272,6 @@ rb_econv_convert0(rb_econv_t *ec, gotresult: ec->last_error.result = res; - ec->last_error.partial_input = flags & ECONV_PARTIAL_INPUT; if (res == econv_invalid_byte_sequence || res == econv_incomplete_input || res == econv_undefined_conversion) { |