ruby-changes:11427
From: knu <ko1@a...>
Date: Mon, 23 Mar 2009 19:23:00 +0900 (JST)
Subject: [ruby-changes:11427] Ruby:r23051 (trunk): * file.c (rb_file_s_lstat): Back out.
knu 2009-03-23 19:22:49 +0900 (Mon, 23 Mar 2009) New Revision: 23051 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=23051 Log: * file.c (rb_file_s_lstat): Back out. Modified files: trunk/ChangeLog trunk/file.c Index: ChangeLog =================================================================== --- ChangeLog (revision 23050) +++ ChangeLog (revision 23051) @@ -1,3 +1,7 @@ +Mon Mar 23 19:22:14 2009 Akinori MUSHA <knu@i...> + + * file.c (rb_file_s_lstat): Back out. + Mon Mar 23 18:54:57 2009 Akinori MUSHA <knu@i...> * file.c (rb_file_s_stat, rb_file_s_lstat): Remove repeated type Index: file.c =================================================================== --- file.c (revision 23050) +++ file.c (revision 23051) @@ -833,7 +833,7 @@ rb_secure(2); FilePathValue(fname); - if (lstat(fname, &st) == -1) { + if (lstat(StringValueCStr(fname), &st) == -1) { rb_sys_fail(RSTRING_PTR(fname)); } return stat_new(&st); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/