ruby-changes:50135
From: kazu <ko1@a...>
Date: Tue, 6 Feb 2018 22:58:11 +0900 (JST)
Subject: [ruby-changes:50135] kazu:r62253 (trunk): Fix wrong comment
kazu 2018-02-06 22:58:04 +0900 (Tue, 06 Feb 2018) New Revision: 62253 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62253 Log: Fix wrong comment `ruby_strdup` does not return NULL. [ci skip] Modified files: trunk/mjit.c Index: mjit.c =================================================================== --- mjit.c (revision 62252) +++ mjit.c (revision 62253) @@ -220,8 +220,7 @@ real_ms_time(void) https://github.com/ruby/ruby/blob/trunk/mjit.c#L220 return tv.tv_usec / 1000.0 + tv.tv_sec * 1000.0; } -/* Make and return copy of STR in the heap. Return NULL in case of a - failure. */ +/* Make and return copy of STR in the heap. */ #define get_string ruby_strdup static void -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/