[Bug #2474] The __FILE__ constant equals a relative path when required using a relative path FAILED

Bug #2474: The FILE constant equals a relative path when required
using a relative path FAILED on 1.8.8dev
http://redmine.ruby-lang.org/issues/show/2474

e$B5/I<<Te(B: ujihisa .
e$B%9%F!<%?%9e(B: Assigned, e$BM%@hEYe(B: Normal
e$BC4Ev<Te(B: Akinori MUSHA, e$B%+%F%4%je(B: core, Target version: Ruby
1.8.8
ruby -v: ruby 1.8.8dev (2009-12-07 revision 26034) [i386-darwin9.8.0]

Ruby
1.8.7e$B$He(B1.8.8deve$B$G!"e(Brequiree$B$5$l$?%U%!%$%k$Ne(B__FILE__e$B$,0[$J$kCM$r;}$A$^$9!#e(B

$ cat a.rb
[19:50:07]
p FILE
require FILE
$ ruby187 -v a.rb
[20:00:31]
ruby 1.8.7 (2009-07-30 patchlevel 192) [i686-darwin9.7.0]
“a.rb”
“./a.rb”
“./a.rb”
$ ruby188 -v a.rb
[20:00:37]
ruby 1.8.8dev (2009-12-07 revision 26034) [i386-darwin9.8.0]
“a.rb”
“/Users/ujihisa/a.rb”
“/Users/ujihisa/a.rb”

ChangeLoge$B$r8+$^$7$?$,!"$$$D$3$NJQ99$,9T$J$o$l$?$N$+J,$+$j$^$;$s$G$7$?!#e(B

e$B$3$NJQ99$K$h$j!"e(Bruby
1.8.8deve$B$Oe(Bspec/rubyspec/language/file_spec.rbe$B$KDL$j$^$;$s!#e(B
e$B$b$7$b$3$NJQ99$,0U?^E*$J$i$b$N$G$7$?$i!"e(BRubySpece$BB&$rJQ99$7$^$9!#e(B

e$B%A%1%C%He(B #2474 e$B$,99?7$5$l$^$7$?!#e(B (by Nobuyoshi N.)

r18242e$B$G$9!#0U?^E*[email protected]$C$?$O$:$G$9!#e(B

http://redmine.ruby-lang.org/issues/show/2474

e$B%A%1%C%He(B #2474 e$B$,99?7$5$l$^$7$?!#e(B (by ujihisa .)

e$B%9%F!<%?%9e(B Assignede$B$+$ie(BClosede$B$KJQ99e(B
e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B

e$B$"$j$,$H$&$4$6$$$^$9!#e(BRubySpece$B$NJ}[email protected]$7$F$*$-$^$7$?!#e(B

http://redmine.ruby-lang.org/issues/show/2474