Skip to content

Commit d4a97bd

Browse files
committed
Merge branch 'master-2.4' into dist/2.4/xenial
2 parents 8ce85a8 + b082521 commit d4a97bd

File tree

956 files changed

+700760
-462
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

956 files changed

+700760
-462
lines changed

.revision.time

Whitespace-only changes.

ChangeLog

Lines changed: 8513 additions & 0 deletions
Large diffs are not rendered by default.

LEGAL

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,8 @@ enc/windows_1251.c
8383

8484
Oniguruma ---- (C) K.Kosako <sndgk393 AT ybb DOT ne DOT jp>
8585

86-
http://www.geocities.jp/kosako3/oniguruma/
87-
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/oniguruma/
88-
http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/oniguruma/
86+
https://github.com/kkos/oniguruma
87+
https://svnweb.freebsd.org/ports/head/devel/oniguruma/
8988

9089
When this software is partly used or it is distributed with Ruby,
9190
this of Ruby follows the license of Ruby.
@@ -330,6 +329,8 @@ random.c
330329
http://www.math.keio.ac.jp/matumoto/emt.html
331330
332331

332+
The Wayback Machine url: http://web.archive.org/web/19990429082237/http://www.math.keio.ac.jp/matumoto/emt.html
333+
333334
vm_dump.c:procstat_vm
334335

335336
This file is under the new-style BSD license.
@@ -679,6 +680,8 @@ ext/win32ole/win32ole.c:
679680
License or the Artistic License, as specified in the README file
680681
of the Perl distribution.
681682

683+
The Wayback Machine url: http://web.archive.org/web/19970607104352/http://www.activeware.com:80/
684+
682685
lib/rdoc/generator/template/darkfish/css/fonts.css:
683686

684687
This file is licensed under the SIL Open Font License.

array.c

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
array.c -
44
5-
$Author$
5+
$Author: usa $
66
created at: Fri Aug 6 09:46:12 JST 1993
77
88
Copyright (C) 1993-2007 Yukihiro Matsumoto
@@ -5825,6 +5825,20 @@ rb_ary_sum(int argc, VALUE *argv, VALUE ary)
58255825
else
58265826
goto not_float;
58275827

5828+
if (isnan(f)) continue;
5829+
if (isnan(x)) {
5830+
f = x;
5831+
continue;
5832+
}
5833+
if (isinf(x)) {
5834+
if (isinf(f) && signbit(x) != signbit(f))
5835+
f = NAN;
5836+
else
5837+
f = x;
5838+
continue;
5839+
}
5840+
if (isinf(f)) continue;
5841+
58285842
t = f + x;
58295843
if (fabs(f) >= fabs(x))
58305844
c += ((f - t) + x);

bignum.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
bignum.c -
44
5-
$Author$
5+
$Author: nagachika $
66
created at: Fri Jun 10 00:48:55 JST 1994
77
88
Copyright (C) 1993-2007 Yukihiro Matsumoto

bin/irb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# irb.rb - interactive ruby
44
# $Release Version: 0.9.6 $
5-
# $Revision$
5+
# $Revision: 40560 $
66
# by Keiju ISHITSUKA([email protected])
77
#
88

bootstraptest/runner.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"exec" "${RUBY-ruby}" "-x" "$0" "$@" || true # -*- mode: ruby; coding: utf-8 -*-
22
#!./ruby
3-
# $Id$
3+
# $Id: runner.rb 56395 2016-10-11 16:36:14Z kazu $
44

55
# NOTE:
66
# Never use optparse in this file.

class.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
class.c -
44
5-
$Author$
5+
$Author: nagachika $
66
created at: Tue Aug 10 15:05:44 JST 1993
77
88
Copyright (C) 1993-2007 Yukihiro Matsumoto

compar.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
compar.c -
44
5-
$Author$
5+
$Author: nobu $
66
created at: Thu Aug 26 14:39:48 JST 1993
77
88
Copyright (C) 1993-2007 Yukihiro Matsumoto

compile.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
compile.c - ruby node tree -> VM instruction sequence
44
5-
$Author$
5+
$Author: usa $
66
created at: 04/01/01 03:42:15 JST
77
88
Copyright (C) 2004-2007 Koichi Sasada
@@ -5177,6 +5177,7 @@ iseq_compile_each(rb_iseq_t *iseq, LINK_ANCHOR *const ret, NODE *node, int poppe
51775177
nd_type(node->nd_args) == NODE_ARRAY && node->nd_args->nd_alen == 1 &&
51785178
nd_type(node->nd_args->nd_head) == NODE_STR &&
51795179
ISEQ_COMPILE_DATA(iseq)->current_block == NULL &&
5180+
!ISEQ_COMPILE_DATA(iseq)->option->frozen_string_literal &&
51805181
ISEQ_COMPILE_DATA(iseq)->option->specialized_instruction) {
51815182
VALUE str = rb_fstring(node->nd_args->nd_head->nd_lit);
51825183
node->nd_args->nd_head->nd_lit = str;
@@ -6229,6 +6230,7 @@ iseq_compile_each(rb_iseq_t *iseq, LINK_ANCHOR *const ret, NODE *node, int poppe
62296230
nd_type(node->nd_args) == NODE_ARRAY && node->nd_args->nd_alen == 2 &&
62306231
nd_type(node->nd_args->nd_head) == NODE_STR &&
62316232
ISEQ_COMPILE_DATA(iseq)->current_block == NULL &&
6233+
!ISEQ_COMPILE_DATA(iseq)->option->frozen_string_literal &&
62326234
ISEQ_COMPILE_DATA(iseq)->option->specialized_instruction)
62336235
{
62346236
VALUE str = rb_fstring(node->nd_args->nd_head->nd_lit);

0 commit comments

Comments
 (0)