From eb9708f38671aa6446a89acc755f3341f5cb59b6 Mon Sep 17 00:00:00 2001 From: matz Date: Wed, 23 Jan 2002 07:30:43 +0000 Subject: * array.c (Init_Array): remove Array#filter. * object.c (rb_mod_initialize): should accept zero argument. * object.c (rb_mod_cmp): should raise ArgumentError if inheritance/inclusion relation between two classes/modules is not defined. [new] * io.c (rb_io_fsync): new method. [new] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- marshal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'marshal.c') diff --git a/marshal.c b/marshal.c index 93005e9425..72ac20ae6f 100644 --- a/marshal.c +++ b/marshal.c @@ -392,7 +392,7 @@ w_object(obj, arg, limit) case T_BIGNUM: w_byte(TYPE_BIGNUM, arg); { - char sign = RBIGNUM(obj)->sign?'+':'-'; + char sign = RBIGNUM(obj)->sign ? '+' : '-'; long len = RBIGNUM(obj)->len; BDIGIT *d = RBIGNUM(obj)->digits; -- cgit v1.2.3