Project

General

Profile

Backport #1168

wrong result of File.extname for path contains a space just before the extension

Added by nobu (Nobuyoshi Nakada) about 11 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
[ruby-dev:38044]

Description

=begin
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"
=end

#1

Updated by nobu (Nobuyoshi Nakada) about 11 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r22393.
=end

#2

Updated by shyouhei (Shyouhei Urabe) almost 11 years ago

  • Status changed from Closed to Open
  • Assignee changed from nobu (Nobuyoshi Nakada) to shyouhei (Shyouhei Urabe)

=begin

=end

#3

Updated by shyouhei (Shyouhei Urabe) over 10 years ago

  • Assignee changed from shyouhei (Shyouhei Urabe) to wyhaines (Kirk Haines)

=begin

=end

#4

Updated by wyhaines (Kirk Haines) over 10 years ago

  • Status changed from Open to Closed

=begin
Applied in changeset r24653.
=end

Also available in: Atom PDF