ruby-changes:45097
From: nobu <ko1@a...>
Date: Sat, 24 Dec 2016 20:56:16 +0900 (JST)
Subject: [ruby-changes:45097] nobu:r57170 (trunk): time.c: fix typo in value_insane_p
nobu 2016-12-24 20:56:12 +0900 (Sat, 24 Dec 2016) New Revision: 57170 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57170 Log: time.c: fix typo in value_insane_p Modified files: trunk/time.c Index: time.c =================================================================== --- time.c (revision 57169) +++ time.c (revision 57170) @@ -61,7 +61,7 @@ value_insane_p(VALUE x) https://github.com/ruby/ruby/blob/trunk/time.c#L61 LPEXCEPTION_POINTERS info; void *failed_address = 0; if (SPECIAL_CONST_P(x)) return 0; - if (!RBASIC_CLASS(x)) return (void *)x; + if (!&RBASIC_CLASS(x)) return (void *)x; __try { RB_GC_GUARD(klass) = RBASIC_CLASS(x); } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/