From dbf04875812945c19e417c263407f9b7caad1a7e Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 8 Sep 2008 15:01:16 +0000 Subject: [PATCH] * 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 --- ChangeLog | 4 ++++ transcode.c | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 90f769f6c4..ccb869e150 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Sep 9 00:00:47 2008 Tanaka Akira + + * transcode.c (rb_econv_t): last_error.partial_input removed. + Mon Sep 8 23:24:54 2008 Tanaka Akira * 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) {