From 2d26208a55df9f55268bdbd80f47a365e1f1155c Mon Sep 17 00:00:00 2001 From: akr Date: Tue, 9 Sep 2008 16:27:02 +0000 Subject: * include/ruby/encoding.h (econv_after_output): renamed from econv_output_followed_by_input. (ECONV_AFTER_OUTPUT): renamed from ECONV_OUTPUT_FOLLOWED_BY_INPUT. * transcode.c: follow the renaming. * io.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'io.c') diff --git a/io.c b/io.c index bd387e3f16..a3ca6486b9 100644 --- a/io.c +++ b/io.c @@ -1503,7 +1503,7 @@ more_char(rb_io_t *fptr) se = sp + fptr->rbuf_len; ds = dp = (unsigned char *)fptr->cbuf + fptr->cbuf_off + fptr->cbuf_len; de = (unsigned char *)fptr->cbuf + fptr->cbuf_capa; - res = rb_econv_convert(fptr->readconv, &sp, se, &dp, de, ECONV_PARTIAL_INPUT|ECONV_OUTPUT_FOLLOWED_BY_INPUT); + res = rb_econv_convert(fptr->readconv, &sp, se, &dp, de, ECONV_PARTIAL_INPUT|ECONV_AFTER_OUTPUT); fptr->rbuf_off += sp - ss; fptr->rbuf_len -= sp - ss; fptr->cbuf_len += dp - ds; -- cgit v1.2.3