2008-06-09 Ken Werner <ken.werner@de.ibm.com>
* libc/machine/spu/strcat.c: Return value fixed. * libc/machine/spu/strncat.c: Likewise.
This commit is contained in:
parent
f4b8818426
commit
3da06ba822
@ -1,3 +1,8 @@
|
||||
2008-06-09 Ken Werner <ken.werner@de.ibm.com>
|
||||
|
||||
* libc/machine/spu/strcat.c: Return value fixed.
|
||||
* libc/machine/spu/strncat.c: Likewise.
|
||||
|
||||
2008-05-28 Eric Blake <ebb9@byu.net>
|
||||
|
||||
Fix bug in previous patch.
|
||||
|
@ -41,5 +41,6 @@
|
||||
*/
|
||||
char *strcat(char * __restrict__ dest, const char * __restrict__ src)
|
||||
{
|
||||
return _strncpy(_straddr(dest), src, 0, 0, 0);
|
||||
_strncpy(_straddr(dest), src, 0, 0, 0);
|
||||
return dest;
|
||||
}
|
||||
|
@ -41,5 +41,6 @@
|
||||
char * strncat(char * __restrict__ dest, const char * __restrict__ src,
|
||||
size_t n)
|
||||
{
|
||||
return _strncpy(_straddr(dest), src, n, 1, 1);
|
||||
_strncpy(_straddr(dest), src, n, 1, 1);
|
||||
return dest;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user