Skip to content

Commit a120cd5

Browse files
committed
merge revision(s) 20103:
* array.c (rb_ary_join): do not repeat self in a recursive array. [ruby-dev:37019] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 1e6e565 commit a120cd5

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Thu Feb 5 08:54:25 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
2+
3+
* array.c (rb_ary_join): do not repeat self in a recursive array.
4+
[ruby-dev:37019]
5+
16
Wed Feb 4 14:25:44 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
27

38
* dir.c (dir_globs): need taint check. reported by steve

array.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1286,7 +1286,7 @@ rb_ary_join(ary, sep)
12861286
case T_STRING:
12871287
break;
12881288
case T_ARRAY:
1289-
if (rb_inspecting_p(tmp)) {
1289+
if (tmp == ary || rb_inspecting_p(tmp)) {
12901290
tmp = rb_str_new2("[...]");
12911291
}
12921292
else {

version.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
#define RUBY_VERSION "1.8.6"
2-
#define RUBY_RELEASE_DATE "2009-02-04"
2+
#define RUBY_RELEASE_DATE "2009-02-05"
33
#define RUBY_VERSION_CODE 186
4-
#define RUBY_RELEASE_CODE 20090204
5-
#define RUBY_PATCHLEVEL 319
4+
#define RUBY_RELEASE_CODE 20090205
5+
#define RUBY_PATCHLEVEL 320
66

77
#define RUBY_VERSION_MAJOR 1
88
#define RUBY_VERSION_MINOR 8
99
#define RUBY_VERSION_TEENY 6
1010
#define RUBY_RELEASE_YEAR 2009
1111
#define RUBY_RELEASE_MONTH 2
12-
#define RUBY_RELEASE_DAY 4
12+
#define RUBY_RELEASE_DAY 5
1313

1414
#ifdef RUBY_EXTERN
1515
RUBY_EXTERN const char ruby_version[];

0 commit comments

Comments
 (0)