ruby-changes:6488
From: shyouhei <ko1@a...>
Date: Thu, 10 Jul 2008 18:45:37 +0900 (JST)
Subject: [ruby-changes:6488] Ruby:r18004 (ruby_1_8_6): merge revision(s) 17916:
shyouhei 2008-07-10 18:45:21 +0900 (Thu, 10 Jul 2008) New Revision: 18004 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=18004 Log: merge revision(s) 17916: * file.c (rb_file_s_extname): fix for file name with spaces. [ruby-talk:307404] Modified files: branches/ruby_1_8_6/ChangeLog branches/ruby_1_8_6/file.c branches/ruby_1_8_6/version.h Index: ruby_1_8_6/ChangeLog =================================================================== --- ruby_1_8_6/ChangeLog (revision 18003) +++ ruby_1_8_6/ChangeLog (revision 18004) @@ -1,3 +1,8 @@ +Thu Jul 10 18:44:01 2008 Nobuyoshi Nakada <nobu@r...> + + * file.c (rb_file_s_extname): fix for file name with spaces. + [ruby-talk:307404] + Thu Jul 10 18:39:17 2008 Nobuyoshi Nakada <nobu@r...> * lib/net/ftp.rb (Net::FTP#sendport): use divmod. [ruby-core:17557] Index: ruby_1_8_6/version.h =================================================================== --- ruby_1_8_6/version.h (revision 18003) +++ ruby_1_8_6/version.h (revision 18004) @@ -2,7 +2,7 @@ #define RUBY_RELEASE_DATE "2008-07-10" #define RUBY_VERSION_CODE 186 #define RUBY_RELEASE_CODE 20080710 -#define RUBY_PATCHLEVEL 272 +#define RUBY_PATCHLEVEL 273 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 Index: ruby_1_8_6/file.c =================================================================== --- ruby_1_8_6/file.c (revision 18003) +++ ruby_1_8_6/file.c (revision 18004) @@ -3043,7 +3043,7 @@ p = last; break; } - e = dot; + if (*last == '.') e = dot; continue; #else e = p; /* get the last dot of the last component */ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/