ruby-cvs:20167
From: matz ruby-lang.org
Date: Tue, 14 Aug 2007 20:03:30 +0900 (JST)
Subject: [ruby-cvs:20167] Ruby:r12931 (trunk): * io.c (argf_close): always close via method.
matz 2007-08-14 20:03:29 +0900 (Tue, 14 Aug 2007)
New Revision: 12931
Modified files:
trunk/ChangeLog
trunk/io.c
Log:
* io.c (argf_close): always close via method.
* io.c (Init_IO): remove obsolete Kernel#getc.
* io.c (argf_each_line): should use #each_line, not #each.
* io.c (argf_each_line): simplified.
* io.c (argf_getline): should handle non T_FILE object in ARGV.
* io.c (argf_each_byte): each_byte should yield bytes not
one-character strings. [ruby-dev:31374]
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=12931&r2=12930
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/io.c?r1=12931&r2=12930
-> 20167 2007-08-14 20:03 [matz ruby-lang.org ] Ruby:r12931 (trunk): * io.c (argf_close): always close via method. 20177 2007-08-15 16:28 ┗[nobu ruby-lang.org ]