This is the mail archive of the
newlib-cvs@sourceware.org
mailing list for the newlib project.
src/newlib ChangeLog libc/include/string.h lib ...
- From: ericb at sourceware dot org
- To: newlib-cvs at sourceware dot org
- Date: 10 Feb 2011 16:48:18 -0000
- Subject: src/newlib ChangeLog libc/include/string.h lib ...
CVSROOT: /cvs/src
Module name: src
Changes by: ericb@sourceware.org 2011-02-10 16:48:18
Modified files:
newlib : ChangeLog
newlib/libc/include: string.h
newlib/libc/string: Makefile.am Makefile.in strerror.c
strerror_r.c
Added files:
newlib/libc/string: xpg_strerror_r.c
Log message:
strerror_r: provide POSIX implementation
* libc/include/string.h (strerror_r): Update declaration.
* libc/string/strerror.c (strerror): Update documentation.
* libc/string/strerror_r.c (strerror_r): Always return
NUL-terminated string; don't overwrite too-short buf.
* libc/string/xpg_strerror_r.c (__xpg_strerror_r): Implement POSIX
variant.
* libc/string/Makefile.am (GENERAL_SOURCES): Build new file.
* libc/string/Makefile.in: Regenerate.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/ChangeLog.diff?cvsroot=src&r1=1.1586&r2=1.1587
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/include/string.h.diff?cvsroot=src&r1=1.23&r2=1.24
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/string/xpg_strerror_r.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/string/Makefile.am.diff?cvsroot=src&r1=1.26&r2=1.27
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/string/Makefile.in.diff?cvsroot=src&r1=1.43&r2=1.44
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/string/strerror.c.diff?cvsroot=src&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/string/strerror_r.c.diff?cvsroot=src&r1=1.2&r2=1.3