diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-08 06:52:21 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-08 06:52:21 +0000 |
commit | f6a38e180e5abc4db445b8e50d698ced71dbea87 (patch) | |
tree | 440bbab7d54797d0d28c2a8a95fad553bd0a1e8f | |
parent | 0b343021da7a139606c06aec5daa2f6f6097461a (diff) | |
download | ruby-f6a38e180e5abc4db445b8e50d698ced71dbea87.tar.gz |
Duplicate header name only if found
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | mjit.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -416,10 +416,10 @@ init_header_filename(void) 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 |