This project is closed and read-only.
Actions
Bug #174
closed[1.8.6] File.extname(".profile") is not returning an empty String
Bug #174:
[1.8.6] File.extname(".profile") is not returning an empty String
Description
=begin
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"
=end
Actions