diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-22 03:17:16 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-22 03:17:16 +0000 |
commit | e71bb2c54e2b98794e423b54c9a8e54695886a44 (patch) | |
tree | b65879bb7fdfd5e8f5f7bcb9f5cc7310f0b91da6 | |
parent | a89132ca7ff30c00924f3caf6727d94a0fb4bb55 (diff) | |
download | ruby-e71bb2c54e2b98794e423b54c9a8e54695886a44.tar.gz |
openssl/buffering.rb: call super
* ext/openssl/lib/openssl/buffering.rb (OpenSSL::Buffering#initialize):
initialize of a module should pass arguments to super.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/openssl/lib/openssl/buffering.rb | 3 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Fri Nov 22 12:17:14 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * ext/openssl/lib/openssl/buffering.rb (OpenSSL::Buffering#initialize): + initialize of a module should pass arguments to super. + Fri Nov 22 12:02:58 2013 Tanaka Akira <akr@fsij.org> * test/ruby/test_settracefunc.rb: Ignore events from other threads. diff --git a/ext/openssl/lib/openssl/buffering.rb b/ext/openssl/lib/openssl/buffering.rb index 0ccbf0f9bf..85cf8af31c 100644 --- a/ext/openssl/lib/openssl/buffering.rb +++ b/ext/openssl/lib/openssl/buffering.rb @@ -40,7 +40,8 @@ module OpenSSL::Buffering ## # Creates an instance of OpenSSL's buffering IO module. - def initialize + def initialize(*) + super @eof = false @rbuffer = "" @sync = @io.sync |