From: Arthur Schreiber Date: 2008-06-17T16:49:56+09:00 Subject: [ruby-core:17290] [Ruby 1.8 - Bug #174] (Open) [1.8.6] File.extname(".profile") is not returning an empty String Issue #174 has been reported by Arthur Schreiber. ---------------------------------------- Bug #174: [1.8.6] File.extname(".profile") is not returning an empty String http://redmine.ruby-lang.org/issues/show/174 Author: Arthur Schreiber Status: Open Priority: Normal Assigned to: Shyouhei Urabe Category: Target version: In the latest patchlevel versions of the ruby_1_8_6 branch, the File.extname method stopped returning empty Strings for files starting with a dot: Latest version of the ruby_1_8 branch: File.extname(".profile") # => "" Latest version of the ruby_1_8_7 branch: File.extname(".profile") # => "" Latest version of the ruby_1_8_6 branch: File.extname(".profile") # => ".profile" ---------------------------------------- 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