WSL2-Linux-Kernel/arch/ia64/lib
Chen, Kenneth W 3e6e155646 [IA64] strcpy returns NULL pointer and not destination pointer
Bob Picco noted that 6edfba1b33
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>
2006-05-05 11:34:55 -07:00
..
Makefile [PATCH] bitops: ia64: use generic bitops 2006-03-26 08:57:12 -08:00
carta_random.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
checksum.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
clear_page.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
clear_user.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
copy_page.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
copy_page_mck.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
copy_user.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
csum_partial_copy.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
do_csum.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
flush.S [PATCH] Kprobes: prevent possible race conditions ia64 changes 2005-09-07 16:58:00 -07:00
idiv32.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
idiv64.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
io.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ip_fast_csum.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
memcpy.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
memcpy_mck.S [IA64] strcpy returns NULL pointer and not destination pointer 2006-05-05 11:34:55 -07:00
memset.S [IA64] fix typos caught by new assembler 2005-05-03 10:56:42 -07:00
strlen.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
strlen_user.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
strncpy_from_user.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
strnlen_user.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xor.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00