From 99a26ac1642cbe3f27f939cc53c0bef5a0ac15a1 Mon Sep 17 00:00:00 2001 From: akr Date: Tue, 26 Aug 2008 15:06:28 +0000 Subject: * include/ruby/io.h (rb_io_t): rename crbuf to cbuf. * io.c: follow the renaming. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/io.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'include/ruby/io.h') diff --git a/include/ruby/io.h b/include/ruby/io.h index 6d71edaec4..9ef0c5a7d1 100644 --- a/include/ruby/io.h +++ b/include/ruby/io.h @@ -62,10 +62,10 @@ typedef struct rb_io_t { } encs; rb_econv_t *readconv; - char *crbuf; /* crbuf_off + crbuf_len <= crbuf_capa */ - int crbuf_off; - int crbuf_len; - int crbuf_capa; + char *cbuf; /* cbuf_off + cbuf_len <= cbuf_capa */ + int cbuf_off; + int cbuf_len; + int cbuf_capa; rb_econv_t *writeconv; VALUE writeconv_stateless; @@ -119,10 +119,10 @@ typedef struct rb_io_t { fp->rbuf_len = 0;\ fp->rbuf_capa = 0;\ fp->readconv = NULL;\ - fp->crbuf = NULL;\ - fp->crbuf_off = 0;\ - fp->crbuf_len = 0;\ - fp->crbuf_capa = 0;\ + fp->cbuf = NULL;\ + fp->cbuf_off = 0;\ + fp->cbuf_len = 0;\ + fp->cbuf_capa = 0;\ fp->writeconv = NULL;\ fp->writeconv_stateless = Qnil;\ fp->writeconv_initialized = 0;\ -- cgit v1.2.3