From: Arthur Schreiber Date: 2008-06-18T05:41:05+09:00 Subject: [ruby-core:17308] [Ruby 1.8 - Bug #174] [1.8.6] File.extname(".profile") is not returning an empty String Issue #174 has been updated by Arthur Schreiber. That is definately a bug, as earlier Ruby 1.8.6 patchlevels showed exactly the same behaviour as 1.8.7: VERSION = 1.8.6-p111: irb(main):001:0> File.extname(".profile") => "" VERSION = 1.8.6-p114 irb(main):001:0> File.extname(".profile") => "" VERSION = 1.8.6-p166 irb(main):001:0> File.extname(".profile") => "" VERSION = 1.8.6-p222 irb(main):001:0> File.extname(".profile") => ".profile" VERSION = 1.8.7-p17 irb(main):001:0> File.extname(".profile") => "" VERSION = 1.8.7-p7 irb(main):001:0> File.extname(".profile") => "" VERSION = 1.8.7 irb(main):001:0> File.extname(".profile") => "" ---------------------------------------- http://redmine.ruby-lang.org/issues/show/174 ---------------------------------------- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://redmine.ruby-lang.org/my/account