diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-05-01 09:38:01 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-05-01 09:38:01 +0000 |
commit | 8145a071a9acc46541a8967d031a872d15065842 (patch) | |
tree | 082ba11a11351baf7b1afad6e267ff9ca1968c1b /bignum.c | |
parent | 11a1286fe10c6e6fd3b56708958f04b5d0189f2b (diff) |
* file.c (rb_find_file): load must be done from an abolute path if
$SAFE >= 4.
* re.c (rb_reg_s_quote): quote whitespaces for /x cases.
* eval.c (rb_thread_cleanup): should not terminate main_thread by
Fatal error.
* regex.c (is_in_list): need to not exclude NUL and NEWLINE.
* re.c (rb_reg_expr_str): wrong backslash escapement.
* re.c (rb_reg_expr_str): do not escape embedded space
characters.
* eval.c (rb_thread_cleanup): current thread may be THREAD_STOPPED,
for example when terminated from signal handler.
* re.c (rb_reg_expr_str): should treat backslash specially in
escaping.
* bignum.c (rb_big_eq): check `y == x' if y is neither Fixnum,
Bignum, nor Float.
* pack.c (pack_unpack): should treat 'U' in character unit, not in
byte unit.
* marshal.c (w_uclass): should check based on rb_obj_class(), not
CLASS_OF().
* io.c (io_write): check error if written data is less than
specified size to detect EPIPE.
* eval.c (assign): ruby_verbose should be surrounded by RTEST().
* object.c (rb_str2cstr): ditto.
* parse.y (void_expr): ditto.
* parse.y (void_stmts): ditto.
* variable.c (rb_ivar_get): ditto.
* variable.c (rb_cvar_set): ditto.
* variable.c (rb_cvar_get): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bignum.c')
-rw-r--r-- | bignum.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -597,7 +597,7 @@ rb_big_eq(x, y) case T_FLOAT: return (rb_big2dbl(x) == RFLOAT(y)->value)?Qtrue:Qfalse; default: - return Qfalse; + return rb_equal(y, x); } if (RBIGNUM(x)->sign != RBIGNUM(y)->sign) return Qfalse; if (RBIGNUM(x)->len != RBIGNUM(y)->len) return Qfalse; |