ruby-cvs:21735
From: matz ruby-lang.org
Date: Sun, 23 Dec 2007 02:28:21 +0900 (JST)
Subject: [ruby-cvs:21735] Ruby:r14498 (trunk): * io.c (rb_io_mode_enc): do not set encoding unless explicitly
matz 2007-12-23 02:28:20 +0900 (Sun, 23 Dec 2007)
New Revision: 14498
Modified files:
trunk/ChangeLog
trunk/io.c
trunk/version.h
Log:
* io.c (rb_io_mode_enc): do not set encoding unless explicitly
specified.
* io.c (rb_io_check_readable): fill fptr->enc by default_external
if it's empty.
* io.c (io_enc_str): fptr->enc is always set for reading IO (by
rb_io_check_readable(fptr)).
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/version.h?r1=14498&r2=14497
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14498&r2=14497
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/io.c?r1=14498&r2=14497