original_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
carta_random.S
checksum.c
clear_page.S
clear_user.S
copy_page.S
copy_page_mck.S
copy_user.S
csum_partial_copy.c
do_csum.S
flush.S
idiv32.S
idiv64.S
io.c
ip_fast_csum.S
memcpy.S
memcpy_mck.S [IA64] strcpy returns NULL pointer and not destination pointer 2006-05-05 11:34:55 -07:00
memset.S
strlen.S
strlen_user.S
strncpy_from_user.S
strnlen_user.S
xor.S