Skip to content

Commit 63a3507

Browse files
committed
merge revision(s) 17916:
* file.c (rb_file_s_extname): fix for file name with spaces. [ruby-talk:307404] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@18006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent cbdcd88 commit 63a3507

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Thu Jul 10 18:46:28 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2+
3+
* file.c (rb_file_s_extname): fix for file name with spaces.
4+
[ruby-talk:307404]
5+
16
Thu Jul 10 18:42:37 2008 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
27

38
* lib/erb.rb (PercentScanner#scan): fix %% line bug. [ruby-core:17491]

file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3044,7 +3044,7 @@ rb_file_s_extname(klass, fname)
30443044
p = last;
30453045
break;
30463046
}
3047-
e = dot;
3047+
if (*last == '.') e = dot;
30483048
continue;
30493049
#else
30503050
e = p; /* get the last dot of the last component */

version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#define RUBY_RELEASE_DATE "2008-07-10"
33
#define RUBY_VERSION_CODE 187
44
#define RUBY_RELEASE_CODE 20080710
5-
#define RUBY_PATCHLEVEL 54
5+
#define RUBY_PATCHLEVEL 55
66

77
#define RUBY_VERSION_MAJOR 1
88
#define RUBY_VERSION_MINOR 8

0 commit comments

Comments
 (0)