ruby-changes:54065
From: nobu <ko1@a...>
Date: Sat, 8 Dec 2018 15:52:26 +0900 (JST)
Subject: [ruby-changes:54065] nobu:r66284 (trunk): Duplicate header name only if found
nobu 2018-12-08 15:52:21 +0900 (Sat, 08 Dec 2018) New Revision: 66284 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66284 Log: Duplicate header name only if found Modified files: trunk/mjit.c Index: mjit.c =================================================================== --- mjit.c (revision 66283) +++ mjit.c (revision 66284) @@ -416,10 +416,10 @@ init_header_filename(void) https://github.com/ruby/ruby/blob/trunk/mjit.c#L416 verbose(3, "PRELOADENV("PRELOADENV")=%s", getenv(PRELOADENV)); /* assume no other PRELOADENV in test-all */ unsetenv(PRELOADENV); + verbose(3, "MJIT_HEADER: %s", hdr); + header_file = ruby_strdup(hdr); + if (!header_file) return FALSE; } - verbose(3, "MJIT_HEADER: %s", hdr); - header_file = ruby_strdup(hdr); - if (!header_file) return FALSE; } else #endif -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/