[Bug #1168] wrong result of File.extname for path contains a space just before the extension


#1

Bug #1168: wrong result of File.extname for path contains a space just
before the extension
http://redmine.ruby-lang.org/issues/show/1168

e$B5/I<<Te(B: Nobuyoshi N.
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Normal
e$BC4Ev<Te(B: Nobuyoshi N., e$B%+%F%4%je(B: core, Target version:
1.9.1
ruby -v: ruby 1.9.2dev (2009-02-18 trunk 22392) [i386-cygwin]

http://pc11.2ch.net/test/read.cgi/tech/1233686068/380

ruby 1.8.7 (2008-08-11 patchlevel 72) [i386-mswin32]
irb(main):007:0> File.extname(“a.txt”)
=> “.txt”
irb(main):008:0> File.extname(“a .txt”)
=> “”
irb(main):009:0> File.extname(“a.txt .txt”)
=> “.txt .txt”


#2

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

e$B%9%F!<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B

Applied in changeset r24653.

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


#3

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

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

Applied in changeset r22393.

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