diff options
author | Chen, Kenneth W <kenneth.w.chen@intel.com> | 2006-05-03 14:53:43 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2006-05-05 14:34:55 -0400 |
commit | 3e6e155646706f1ef9f791a4402d145f112a3f8d (patch) | |
tree | 43e3327d4c053a0a595925aa3679bb5e1e0f87aa /include | |
parent | d98550e334715b2d9e45f8f0f4e1608720108640 (diff) |
[IA64] strcpy returns NULL pointer and not destination pointer
Bob Picco noted that 6edfba1b33c701108717f4e036320fc39abe1912
dropped the -ffreestanding compiler flag from the top level
Makefile, which allows the compiler to substitute memcpy() in
places where strcpy() is used with a known size source string.
But the ia64 memcpy() returns 0 for success, and "bytes copied"
for failure.
Fix to return the address of the destination string (like
stdlibc version, and other architectures). There are no
places where ia64 specific code makes use of the non-standard
return value.
Signed-off-by: Ken Chen <kenneth.w.chen@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions