diff options
author | John Högberg <[email protected]> | 2018-03-05 12:55:13 +0100 |
---|---|---|
committer | John Högberg <[email protected]> | 2018-03-09 08:34:22 +0100 |
commit | 4d4629605ab7d3c3a5268502dadcf639151d6c42 (patch) | |
tree | 78e8d2f9bdea7cd08053be0df26099e88a784fbb /erts/emulator/beam/erl_utils.h | |
parent | ca9e3cea6cfdad0d99dcef149cb0ba1d1e1e98f2 (diff) | |
download | otp-4d4629605ab7d3c3a5268502dadcf639151d6c42.tar.gz otp-4d4629605ab7d3c3a5268502dadcf639151d6c42.tar.bz2 otp-4d4629605ab7d3c3a5268502dadcf639151d6c42.zip |
Always use sys_memcpy/cmp/etc instead of plain memcpy/cmp/etc
Diffstat (limited to 'erts/emulator/beam/erl_utils.h')
-rw-r--r-- | erts/emulator/beam/erl_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_utils.h b/erts/emulator/beam/erl_utils.h index 44d8c85867..e4087e0ac8 100644 --- a/erts/emulator/beam/erl_utils.h +++ b/erts/emulator/beam/erl_utils.h @@ -91,7 +91,7 @@ Eterm erts_bld_tuple(Uint **hpp, Uint *szp, Uint arity, ...); #define erts_bld_tuple5(H,S,E1,E2,E3,E4,E5) erts_bld_tuple(H,S,5,E1,E2,E3,E4,E5) Eterm erts_bld_tuplev(Uint **hpp, Uint *szp, Uint arity, Eterm terms[]); Eterm erts_bld_string_n(Uint **hpp, Uint *szp, const char *str, Sint len); -#define erts_bld_string(hpp,szp,str) erts_bld_string_n(hpp,szp,str,strlen(str)) +#define erts_bld_string(hpp,szp,str) erts_bld_string_n(hpp,szp,str,sys_strlen(str)) Eterm erts_bld_list(Uint **hpp, Uint *szp, Sint length, Eterm terms[]); Eterm erts_bld_2tup_list(Uint **hpp, Uint *szp, Sint length, Eterm terms1[], Uint terms2[]); |