Issue #3882 has been updated by fahmisetiawan (Fahmi Setiawan).


http://alkian.blogspot.com/2012/09/cara-menyembuhkan-asam-urat-dan-kolestrol-secara-alami.html
http://alkian.blogspot.com/2012/09/keretamini-keretamall-komediputar-ya-keretaminikucom.html
http://alkian.blogspot.com/2012/09/harga-spesifikasi-samsung-galaxy-y-duos-terbaru.html
http://alkian.blogspot.com/2012/09/download-one-piece-grand-battle-2.html
http://alkian.blogspot.com/2012/09/harga-dan-spesifikasi-toyota-agya.html
http://alkian.blogspot.com/2012/09/harga-dan-spesifikasi-daihatsu-ayla.html
http://alkian.blogspot.com/2012/09/download-harvestmoon-backtonature-bahasa-indonesia.html
http://alkian.blogspot.com/2012/09/download-gratis-game-onet-untuk-windows.html
http://alkian.blogspot.com/2012/09/cara-download-dengan-jumbofiles.html
http://alkian.blogspot.com/2012/09/cara-mengganti-bahasa-indonesia-di-blackbery.html
http://alkian.blogspot.com/2012/09/free-download-windows-xp-sp3-black-edition-terbaru-full-version-2012.html
http://alkian.blogspot.com/2012/09/free-download-kamus-bahasa-arab.html
http://alkian.blogspot.com/2012/09/free-download-corel-draw-x5-portable.html
http://alkian.blogspot.com/2012/09/cara-membuat-related-post-artikel-terkait.html
http://alkian.blogspot.com/2012/09/daftar-harga-lengkap-hp-mito-terbaru.html
http://alkian.blogspot.com/2012/09/download-theme-tron-legacy-for-windows-7.html
http://alkian.blogspot.com/2012/09/download-alquran-digital-3d-untuk-pc-komputer.html
http://alkian.blogspot.com/2012/09/kumpulan-kata-kata-renungan-terbaik-2012.html
http://alkian.blogspot.com/2012/09/kumpulan-website-sosbuk-social-bookmarking.html
http://alkian.blogspot.com/2012/09/template-seo-friendly-simple-blue.html
http://alkian.blogspot.com/2012/09/harga-hp-nokia-september-2012-terbaru.html
http://alkian.blogspot.com/2012/09/foto-ariel-noah-terbaru.html
http://alkian.blogspot.com/2012/09/download-serial-number-windows-seven.html
http://alkian.blogspot.com/2012/09/biodata-foto-iqbaal-dhiafakhri-ramadhan.html
http://alkian.blogspot.com/2012/09/harga-dan-spesifikasi-samsung-galaxy-camera.html
http://alkian.blogspot.com/2012/09/biodata-akb48-lengkap-dengan-foto.html
http://alkian.blogspot.com/2012/08/arti-dan-makna-kata-noah.html
----------------------------------------
Backport #3882: REGRESSION: File.extname() broken (at least >= 1.8.7)
https://bugs.ruby-lang.org/issues/3882#change-29906

Author: AndiM (Andreas Mohr)
Status: Assigned
Priority: Normal
Assignee: wyhaines (Kirk Haines)
Category: core
Target version: 


=begin
 Hi,
 
 #!/usr/bin/ruby
 
 require 'pathname'
 
 mytest_filename = ARGV.shift
 
 #mytest_filename_cleaned = Pathname.new(mytest_filename).cleanpath
 mytest_filename_cleaned = mytest_filename
 
 puts "mytest_filename #{mytest_filename} mytest_filename_cleaned #{mytest_filename_cleaned}"
 
 myext = File.extname(mytest_filename_cleaned)
 puts "mytest_filename_cleaned #{mytest_filename_cleaned} myext #{myext}"
 
 
 
 Try .//test.out
 Won't do what it should, at least on u10.04 ruby1.8 1.8.7.249-2 and ruby1.9.1 1.9.1.378-1,
 as opposed to correct behaviour on ruby-1.8.5-5.el5_4.8.
 
 Since http://ruby-doc.org/core/classes/File.html#M002543 doesn't really specify extname() argument composition constraints
 (other than it being a path), it _should_ accept duplicate slashes since this syntax is treated as a valid path pretty much everywhere.
 
 Do you happen to have a test suite for these core API things? Since extname() also had some other issues (spaces before extension etc.),
 this would be useful.
 
 Other than this rather disturbing behaviour, I'm VERY impressed with Ruby.
 
 Thanks,
 
 Andreas Mohr
=end



-- 
http://bugs.ruby-lang.org/