summaryrefslogtreecommitdiff
path: root/spec/ruby/core/string
diff options
context:
space:
mode:
authorUrabe, Shyouhei <shyouhei@ruby-lang.org>2019-04-26 18:37:21 +0900
committerUrabe, Shyouhei <shyouhei@ruby-lang.org>2019-04-29 21:52:44 +0900
commit34e1079aef81d108890fb167d7df69960e994ff5 (patch)
tree8b9b28a53bc0072835b7f2a9350ef089ffea619b /spec/ruby/core/string
parente7b18ca6d9b45b7e71694557b9fab8152c62c1ed (diff)
glibc says memcpy cannot take NULL
At least since 2004, glibc's <string.h> annotates memcpy as __attribute__((__nonnull__)). This basedir is passed to it. When LOAD_RELATIVE is not defined and MJIT_SEARCH_BUILD_DIR is not set, this variable is never updated. Should initialize with meaningful default value.
Diffstat (limited to 'spec/ruby/core/string')
0 files changed, 0 insertions, 0 deletions