diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2006-10-19 10:17:12 +0000 |
---|---|---|
committer | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2006-10-19 10:17:12 +0000 |
commit | c2c7d1a6456fc63721323e9c6b15a17c87e4a484 (patch) | |
tree | 3be457a0d18b4e6b6623ca262ee0e77f98bd2827 /libm/s_ldexp.c | |
parent | 6626da07e35651fbd94493a23ac4ecc342c2b0d9 (diff) |
Make strdup() use memcpy() rather than strcpy() to duplicate the string.
The rationale is that we already have the length of the string to
duplicate (from doing the malloc()), and memcpy() should then always be
faster than strcpy() (or at least as fast).
Diffstat (limited to 'libm/s_ldexp.c')
0 files changed, 0 insertions, 0 deletions