This is the mail archive of the
newlib-cvs@sources.redhat.com
mailing list for the newlib project.
src/newlib ChangeLog libc/include/sys/lock.h l ...
- From: jjohnstn at sourceware dot org
- To: newlib-cvs at sources dot redhat dot com
- Date: 16 Sep 2004 21:30:51 -0000
- Subject: src/newlib ChangeLog libc/include/sys/lock.h l ...
CVSROOT: /cvs/src
Module name: src
Changes by: jjohnstn@sourceware.org 2004-09-16 21:30:51
Modified files:
newlib : ChangeLog
newlib/libc/include/sys: lock.h stdio.h
newlib/libc/stdio: local.h siprintf.c snprintf.c sscanf.c
vsnprintf.c vsscanf.c
Log message:
2004-09-16 Antony King <antony.king@st.com>
* libc/include/sys/lock.h: Replaced empty {} with (0) to conform
with locking API.
* libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
check for__SSTR in _flags and if set, skip lock request.
(_funlockfile)[!SINGLE_THREAD]: Ditto.
* libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
not NULL.
* libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
initialisation of _file to -1 in local FILE.
* libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
* libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
* libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
* libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
* libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
_flags in local FILE to prevent locking.
* libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/ChangeLog.diff?cvsroot=src&r1=1.703&r2=1.704
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/include/sys/lock.h.diff?cvsroot=src&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/include/sys/stdio.h.diff?cvsroot=src&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/stdio/local.h.diff?cvsroot=src&r1=1.11&r2=1.12
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/stdio/siprintf.c.diff?cvsroot=src&r1=1.4&r2=1.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/stdio/snprintf.c.diff?cvsroot=src&r1=1.4&r2=1.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/stdio/sscanf.c.diff?cvsroot=src&r1=1.7&r2=1.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/stdio/vsnprintf.c.diff?cvsroot=src&r1=1.5&r2=1.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/stdio/vsscanf.c.diff?cvsroot=src&r1=1.3&r2=1.4