mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* eval.c (top_include): include in the wrapped load is done for
the wrapper, not for a singleton class for wrapped main. [ruby-dev:23305] * bignum.c (rb_big_eq): use temporary double variable to save the result (internal float register may be bigger than 64 bits, for example, 80 bits on x86). [ruby-dev:23311] * eval.c (block_pass): should generate unique identifier of the pushing block. [ruby-talk:96363] * ext/socket/socket.c (make_hostent): fix memory leak, based on the patch from HORIKAWA Hisashi <vzw00011@nifty.ne.jp>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1b33576053
commit
849bc0234a
32 changed files with 197 additions and 137 deletions
|
@ -358,7 +358,7 @@ ossl_pkcs7_set_detached(VALUE self, VALUE flag)
|
|||
|
||||
GetPKCS7(self, p7);
|
||||
if(flag != Qtrue && flag != Qfalse)
|
||||
ossl_raise(ePKCS7Error, "must secify a boolean");
|
||||
ossl_raise(ePKCS7Error, "must specify a boolean");
|
||||
if(!PKCS7_set_detached(p7, flag == Qtrue ? 1 : 0))
|
||||
ossl_raise(ePKCS7Error, NULL);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue