ruby-changes:23532
From: naruse <ko1@a...>
Date: Tue, 8 May 2012 07:46:26 +0900 (JST)
Subject: [ruby-changes:23532] naruse:r35583 (trunk): * ext/openssl/ossl_ssl.c (ossl_start_ssl): remove useless rb_sys_fail
naruse 2012-05-08 07:46:15 +0900 (Tue, 08 May 2012) New Revision: 35583 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35583 Log: * ext/openssl/ossl_ssl.c (ossl_start_ssl): remove useless rb_sys_fail before ossl_raise. this cause a test failure on Linux. http://u64.rubyci.org/~chkbuild/ruby-trunk/log/20120507T190102Z.log.html.gz Modified files: trunk/ChangeLog trunk/ext/openssl/ossl_ssl.c Index: ChangeLog =================================================================== --- ChangeLog (revision 35582) +++ ChangeLog (revision 35583) @@ -1,3 +1,9 @@ +Tue May 8 07:44:18 2012 NARUSE, Yui <naruse@r...> + + * ext/openssl/ossl_ssl.c (ossl_start_ssl): remove useless rb_sys_fail + before ossl_raise. this cause a test failure on Linux. + http://u64.rubyci.org/~chkbuild/ruby-trunk/log/20120507T190102Z.log.html.gz + Tue May 8 05:35:18 2012 Eric Hodel <drbrain@s...> * object.c (Init_Object): Added reference to variable.c where Index: ext/openssl/ossl_ssl.c =================================================================== --- ext/openssl/ossl_ssl.c (revision 35582) +++ ext/openssl/ossl_ssl.c (revision 35583) @@ -1158,7 +1158,6 @@ rb_io_wait_readable(FPTR_TO_FD(fptr)); continue; case SSL_ERROR_SYSCALL: - if (errno) rb_sys_fail(funcname); ossl_raise(eSSLError, "%s SYSCALL returned=%d errno=%d state=%s", funcname, ret2, errno, SSL_state_string_long(ssl)); default: ossl_raise(eSSLError, "%s returned=%d errno=%d state=%s", funcname, ret2, errno, SSL_state_string_long(ssl)); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/