ruby-cvs:21389
From: nobu ruby-lang.org
Date: Sun, 9 Dec 2007 12:18:22 +0900 (JST)
Subject: [ruby-cvs:21389] Ruby:r14152 (trunk): * file.c (rb_get_path): use the original object if to_path method is
nobu 2007-12-09 12:18:21 +0900 (Sun, 09 Dec 2007)
New Revision: 14152
Modified files:
trunk/ChangeLog
trunk/file.c
trunk/io.c
Log:
* file.c (rb_get_path): use the original object if to_path method is
not defined. [ruby-dev:32473]
* io.c (rb_f_open): call to_open on non-string objects, instead of
to_str. [ruby-dev:32473]
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/file.c?r1=14152&r2=14151
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14152&r2=14151
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/io.c?r1=14152&r2=14151