This is the mail archive of the
newlib-cvs@sourceware.org
mailing list for the newlib project.
src/newlib ChangeLog libc/machine/mips/strncpy.c
- From: jjohnstn at sourceware dot org
- To: newlib-cvs at sourceware dot org
- Date: 7 Jul 2008 15:51:55 -0000
- Subject: src/newlib ChangeLog libc/machine/mips/strncpy.c
CVSROOT: /cvs/src
Module name: src
Changes by: jjohnstn@sourceware.org 2008-07-07 15:51:55
Modified files:
newlib : ChangeLog
newlib/libc/machine/mips: strncpy.c
Log message:
2008-07-07 Hans-Peter Nilsson <hp@axis.com>
* libc/machine/mips/strncpy.c: Include stdint.h to get uintptr_t.
(strncpy): Cast src to uintptr_t before checking alignment with "&".
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/ChangeLog.diff?cvsroot=src&r1=1.1174&r2=1.1175
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/machine/mips/strncpy.c.diff?cvsroot=src&r1=1.2&r2=1.3