linux-stable-rt/arch/blackfin/lib
Steven Miao 5ff6197f82 Blackfin: strncpy: fix handling of zero lengths
The jump to 4f will cause the NUL padding loop to run at least one time,
so if string length is zero just jump to the end.  Otherwise we wrongly
write one NUL byte when size==0.

Signed-off-by: Steven Miao <realmz6@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-06-03 11:05:36 -04:00
..
Makefile
ashldi3.c
ashrdi3.c
divsi3.S
gcclib.h
ins.S
lshrdi3.c
memchr.S
memcmp.S
memcpy.S
memmove.S
memset.S
modsi3.S
muldi3.S
outs.S
smulsi3_highpart.S
strcmp.S
strcpy.S
strncmp.S
strncpy.S
udivsi3.S
umodsi3.S
umulsi3_highpart.S