ruby-changes:62321
From: Nobuyoshi <ko1@a...>
Date: Mon, 20 Jul 2020 13:38:05 +0900 (JST)
Subject: [ruby-changes:62321] d2bf6133f6 (master): Remove trailing spaces [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=d2bf6133f6 From d2bf6133f6f37279505ab8f9b1dcfc5a48b70345 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Mon, 20 Jul 2020 13:31:41 +0900 Subject: Remove trailing spaces [ci skip] diff --git a/ext/openssl/lib/openssl/buffering.rb b/ext/openssl/lib/openssl/buffering.rb index a5f4241..32e04b4 100644 --- a/ext/openssl/lib/openssl/buffering.rb +++ b/ext/openssl/lib/openssl/buffering.rb @@ -31,7 +31,7 @@ module OpenSSL::Buffering https://github.com/ruby/ruby/blob/trunk/ext/openssl/lib/openssl/buffering.rb#L31 force_encoding(BINARY) end - + def << string if string.encoding == BINARY super(string) diff --git a/ext/openssl/lib/openssl/ssl.rb b/ext/openssl/lib/openssl/ssl.rb index 8554ada..8e12007 100644 --- a/ext/openssl/lib/openssl/ssl.rb +++ b/ext/openssl/lib/openssl/ssl.rb @@ -236,7 +236,7 @@ YoaOffgTf5qxiwkjnlVZQc3whgnEt9FpVMvQ9eknyeGB5KHfayAc3+hUAvI3/Cr3 https://github.com/ruby/ruby/blob/trunk/ext/openssl/lib/openssl/ssl.rb#L236 def fileno to_io.fileno end - + def addr to_io.addr end diff --git a/io.c b/io.c index 75db7ab..2760e6c 100644 --- a/io.c +++ b/io.c @@ -1293,7 +1293,7 @@ rb_io_wait_writable(int f) https://github.com/ruby/ruby/blob/trunk/io.c#L1293 VALUE result = rb_funcall(scheduler, rb_intern("wait_writable_fd"), 1, INT2NUM(f)); return RTEST(result); } - + io_fd_check_closed(f); switch (errno) { case EINTR: diff --git a/test/fiber/test_io.rb b/test/fiber/test_io.rb index 90ac4aa..270e4f3 100644 --- a/test/fiber/test_io.rb +++ b/test/fiber/test_io.rb @@ -39,14 +39,14 @@ class TestFiberIO < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/fiber/test_io.rb#L39 assert_predicate(i, :closed?) assert_predicate(o, :closed?) end - + def test_heavy_read skip unless defined?(UNIXSocket) 16.times.map do thread = Thread.new do i, o = UNIXSocket.pair - + scheduler = Scheduler.new Thread.current.scheduler = scheduler diff --git a/variable.c b/variable.c index 5d3785b..fe55cc9 100644 --- a/variable.c +++ b/variable.c @@ -755,7 +755,7 @@ VALUE https://github.com/ruby/ruby/blob/trunk/variable.c#L755 rb_gv_get(const char *name) { ID id = find_global_id(name); - + if (!id) { rb_warning("global variable `%s' not initialized", name); return Qnil; -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/