diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-02-16 12:50:31 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-02-16 12:50:31 +0900 |
| commit | 7470337a8250ea8efe1db4ffb4129a0b5779f131 (patch) | |
| tree | ce884e2dd7682ae51cc7db697ef9cc004417215c /src/array.c | |
| parent | 61370ca98c6a5853cb35c1491a2b310107aa4403 (diff) | |
| download | mruby-7470337a8250ea8efe1db4ffb4129a0b5779f131.tar.gz mruby-7470337a8250ea8efe1db4ffb4129a0b5779f131.zip | |
Update URL explaining alignment issue; close #5344
Diffstat (limited to 'src/array.c')
| -rw-r--r-- | src/array.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/array.c b/src/array.c index ab6adf52c..8ab30bd8e 100644 --- a/src/array.c +++ b/src/array.c @@ -56,9 +56,9 @@ mrb_ary_new(mrb_state *mrb) } /* - * to copy array, use this instead of memcpy because of portability + * To copy array, use this instead of memcpy because of portability * * gcc on ARM may fail optimization of memcpy - * http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/ka3934.html + * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56620 * * gcc on MIPS also fail * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39755 * * memcpy doesn't exist on freestanding environment @@ -66,8 +66,7 @@ mrb_ary_new(mrb_state *mrb) * If you optimize for binary size, use memcpy instead of this at your own risk * of above portability issue. * - * see also http://togetter.com/li/462898 - * + * See also https://togetter.com/li/462898 (Japanese) */ static inline void array_copy(mrb_value *dst, const mrb_value *src, mrb_int size) |
