Show last: 20 , 50 , 100 , 250
Next page

Date Files Revision Author Revision Log
2020/02/15 09:12:47 /branches/ruby_2_6/process.c
/branches/ruby_2_6/test/ruby/test_process.rb
/branches/ruby_2_6/version.h
67837 nagachika merge revision(s) 95ab9cd8f453099d7649dc0e0eec55ea891340f5: [Backport #16624]

Restart timer thread even after preparation failed

If the timer thread is left stopped, memory crash or segfault can
happen. [Bug #16624]
2019/12/18 13:41:48 /branches/ruby_2_6/test/ruby/test_time_tz.rb
/branches/ruby_2_6/time.c
/branches/ruby_2_6/version.h
67836 nagachika merge revision(s) d6a2bce64a7fa1099e507e1d36b5f1533f42f60f,c687be4bc01c9ce52ea990945d9304d6fe59fe9b: [Backport #16159]

time.c (find_time_t): fix round-to-zero bug

`find_time_t` did not work correctly for year older than the Epoch
because it used C's integer division (which rounds negative to zero).

For example, `TIme.new(1933)` returned a wrong time whose year is 1922
in Asia/Kuala_Lumpur because there is no 00:00:00 1st Jan. 1933 in the
time zone.

```
$ TZ=Asia/Kuala_Lumpur ruby -e 'p Time.new(1933)'
1932-12-31 00:00:00 +0700
```

This change fixes the issue by using `DIV` macro instead of `/`.
Now `Time.new(1933)` returns a time in 1933.

```
$ TZ=Asia/Kuala_Lumpur ruby -e 'p Time.new(1933)'
1933-01-01 00:20:00 +0720
```

[Bug #16159]

Added a test for [Bug #16159]
2019/12/15 08:28:52 /branches/ruby_2_6/enum.c
/branches/ruby_2_6/test/ruby/test_enum.rb
/branches/ruby_2_6/version.h
67835 nagachika merge revision(s) ff41663403d3eb76d95f465cb94e14d2faaa04d1: [Backport #16354]

Fix memory corruption in Enumerable#reverse_each [ruby-dev:50867]
[Bug #16354]
2019/12/15 08:12:17 /branches/ruby_2_6/ext/openssl/ossl_asn1.c
/branches/ruby_2_6/test/openssl/test_asn1.rb
/branches/ruby_2_6/version.h
67834 nagachika merge revision(s) 203b7fa1ae8cc40d41c38d684f70b3fea7fae813,0131fab749fb76800de09e49a6abf910201c5b58,9c0cd5c569ba22bc68d1a77ad6580a275cd99639,c144d7215b3444fa36d28d540b60170a5b30743d: [Backport #16196]

Guard static variable first

* ext/openssl/ossl_asn1.c (Init_ossl_asn1): register the static
variable to grab an internal object, before creating the object.
otherwise the just-created object could get collected during the
global variable list allocation. [Bug #16196]

Slimed down test runtime by stressing openssl.so only [Bug #16196]


Prefer rb_gc_register_mark_object

* ext/openssl/ossl_asn1.c (Init_ossl_asn1): prefer
`rb_gc_register_mark_object`, which is better for constant
objects, over `rb_gc_register_address` for global/static
variables which can be re-assigned at runtime. [Bug #16196]

Skip very time consuming test [Bug #16196]
2019/12/15 07:20:58 /branches/ruby_2_6/gems/bundled_gems
/branches/ruby_2_6/version.h
67833 nagachika merge revision(s) 463092b84da7933f307cc8747f948f68ef19f5fd: [Backport #16279]

Update rake-12.3.3.
2019/12/15 07:14:45 /branches/ruby_2_6/marshal.c
/branches/ruby_2_6/test/ruby/test_marshal.rb
/branches/ruby_2_6/version.h
67832 nagachika merge revision(s) c9423b016cfeab852bc5a829e55e0a11f80b3ab7,0b1e26398e018116180bf41cb63887f77d5d1b82,78ee2c245331e353e218b8fac9ca722a2bcd8fea: [Backport #15968]

marshal.c: check instance variable count

* marshal.c (w_obj_each): ensure that no instance variable was
added while dumping other instance variables. [Bug #15968]

Hoisted out w_ivar_each


marshal.c: check instance variable count

* marshal.c (w_ivar_each): ensure that no instance variable was
removed while dumping other instance variables. [Bug #15968]
2019/12/09 12:25:34 /branches/ruby_2_6/object.c
/branches/ruby_2_6/spec/ruby/core/module/autoload_spec.rb
/branches/ruby_2_6/test/ruby/test_autoload.rb
/branches/ruby_2_6/version.h
67831 nagachika merge revision(s) 7d805e67f3275aef066d77aa9c32bef715c362ed: [Backport #15780]

Avoid triggering autoload in Module#const_defined?(String)

[Bug #15780]
2019/12/09 12:06:38 /branches/ruby_2_6/object.c
/branches/ruby_2_6/test/ruby/test_module.rb
/branches/ruby_2_6/version.h
67830 nagachika merge revision(s) e1b592b508c72a56ae012869d97fe1580ff87246,d10451f3fd51f577e704db770de48d05044eb45c: [Backport #15758]

test_module.rb: fix a typo

* test/ruby/test_module.rb (TestModule#test_nested_get): fix a
typo. nested module's name is a qualified path.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

object.c: fix searching nested const paths

* object.c (rb_mod_const_get, rb_mod_const_defined): nested const
paths should not search from toplevel constants.
[ruby-core:92202] [Bug #15758]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019/12/04 06:52:01 /branches/ruby_2_5/test/net/ftp/test_ftp.rb
/branches/ruby_2_5/version.h
67829 usa merge revision(s) 2a477e0e444de6344048101466fb9189b9defddc: [Backport #16353]

test_ftp.rb: loosen timeout for Travis osx

https://travis-ci.org/ruby/ruby/jobs/454798071

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019/11/08 22:51:51 /branches/ruby_2_6/ext/-test-/file/fs.c
/branches/ruby_2_6/version.h
67828 nagachika merge revision(s) 6333020fc924d3ae63775c032bbe8f57364cd42e:

atime may not updated unless strictatime is set on macOS Catalina

Cited from mount(8):

```
strictatime
Always update the file access time when reading from a
file. Without this option the filesystem may default to a
less strict update mode, where some access time updates
are skipped for performance reasons. This option could be
ignored if it is not supported by the filesystem.
```
2019/11/08 08:29:32 /branches/ruby_2_5/ext/-test-/file/fs.c
/branches/ruby_2_5/version.h
67827 usa merge revision(s) 6333020fc924d3ae63775c032bbe8f57364cd42e:

atime may not updated unless strictatime is set on macOS Catalina

Cited from mount(8):

```
strictatime
Always update the file access time when reading from a
file. Without this option the filesystem may default to a
less strict update mode, where some access time updates
are skipped for performance reasons. This option could be
ignored if it is not supported by the filesystem.
```
2019/10/03 02:27:34 /branches/ruby_2_5/version.h
67826 usa Bump version
2019/10/02 11:18:43 /branches/ruby_2_6/test/socket/test_socket.rb
/branches/ruby_2_6/version.h
67825 nagachika merge revision(s) 63ab7046a1a5c374a52dfa79406fe52d92d80344:

Skip POINTOPOINT of IPv4 too instead of IPv6 only

Fix following error on `utun*`:
```
1) Error:
TestSocket#test_udp_server:
Errno::ECONNREFUSED: Connection refused - recvmsg(2)
```
2019/10/02 05:02:17 /tags/v2_4_9
67824 usa add tag v2_4_9 Copied from /branches/ruby_2_4:67823
2019/10/02 05:01:50 /branches/ruby_2_4/version.h
67823 usa Bump to 2.4.9 for repackaging
2019/10/01 22:38:59 /branches/ruby_2_6/version.h
67822 nagachika bump up teeny version to 2.6.6.
2019/10/01 11:06:27 /tags/v2_4_8
67821 usa add tag v2_4_8 Copied from /branches/ruby_2_4:67820
2019/10/01 11:06:17 /branches/ruby_2_4/lib/shell/command-processor.rb
/branches/ruby_2_4/test/shell/test_command_processor.rb
/branches/ruby_2_4/version.h
67820 usa lib/shell/command-processor.rb (Shell#[]): prevent unknown command

`FileTest.send(command, ...)` allows to call not only FileTest-related
methods but also any method that belongs to Kernel, Object, etc.
patched by <mame@ruby-lang.org>
2019/10/01 11:05:56 /branches/ruby_2_4/lib/webrick/httpresponse.rb
/branches/ruby_2_4/test/webrick/test_httpresponse.rb
/branches/ruby_2_4/version.h
67819 usa merge revision(s) 3ce238b5f9795581eb84114dcfbdf4aa086bfecc

WEBrick: prevent response splitting and header injection

This is a follow up to d9d4a28.
The commit prevented CRLR, but did not address an isolated CR or an
isolated LF.

Co-Authored-By: NARUSE, Yui <naruse@airemix.jp>
2019/10/01 11:05:22 /branches/ruby_2_4/lib/webrick/httpauth/digestauth.rb
/branches/ruby_2_4/test/webrick/test_httpauth.rb
/branches/ruby_2_4/version.h
67818 usa merge revision(s) 36e057e26ef2104bc2349799d6c52d22bb1c7d03

Loop with String#scan without creating substrings

Create the substrings necessary parts only, instead of cutting the
rest of the buffer. Also removed a useless, probable typo, regexp.