ruby-changes:6490
From: shyouhei <ko1@a...>
Date: Thu, 10 Jul 2008 18:47:45 +0900 (JST)
Subject: [ruby-changes:6490] Ruby:r18006 (ruby_1_8_7): merge revision(s) 17916:
shyouhei 2008-07-10 18:47:31 +0900 (Thu, 10 Jul 2008) New Revision: 18006 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=18006 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_7/ChangeLog branches/ruby_1_8_7/file.c branches/ruby_1_8_7/version.h Index: ruby_1_8_7/ChangeLog =================================================================== --- ruby_1_8_7/ChangeLog (revision 18005) +++ ruby_1_8_7/ChangeLog (revision 18006) @@ -1,3 +1,8 @@ +Thu Jul 10 18:46:28 2008 Nobuyoshi Nakada <nobu@r...> + + * file.c (rb_file_s_extname): fix for file name with spaces. + [ruby-talk:307404] + Thu Jul 10 18:42:37 2008 Masatoshi SEKI <m_seki@m...> * lib/erb.rb (PercentScanner#scan): fix %% line bug. [ruby-core:17491] Index: ruby_1_8_7/version.h =================================================================== --- ruby_1_8_7/version.h (revision 18005) +++ ruby_1_8_7/version.h (revision 18006) @@ -2,7 +2,7 @@ #define RUBY_RELEASE_DATE "2008-07-10" #define RUBY_VERSION_CODE 187 #define RUBY_RELEASE_CODE 20080710 -#define RUBY_PATCHLEVEL 54 +#define RUBY_PATCHLEVEL 55 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 Index: ruby_1_8_7/file.c =================================================================== --- ruby_1_8_7/file.c (revision 18005) +++ ruby_1_8_7/file.c (revision 18006) @@ -3044,7 +3044,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/