This is the mail archive of the
newlib-cvs@sourceware.org
mailing list for the newlib project.
src/newlib ChangeLog libc/stdio/fvwrite.c libc ...
- From: ericb at sourceware dot org
- To: newlib-cvs at sourceware dot org
- Date: 14 Jun 2011 03:56:05 -0000
- Subject: src/newlib ChangeLog libc/stdio/fvwrite.c libc ...
CVSROOT: /cvs/src
Module name: src
Changes by: ericb@sourceware.org 2011-06-14 03:56:05
Modified files:
newlib : ChangeLog
newlib/libc/stdio: fvwrite.c local.h wbuf.c wsetup.c
Log message:
printf: set errno for read-only stream
* libc/stdio/wsetup.c (__swsetup_r): Set errno on failure.
* libc/stdio/fvwrite.c (__sfvwrite_r): Simplify.
* libc/stdio/wbuf.c (__swbuf_r): Likewise.
* libc/stdio/local.h (cantwrite): Adjust comment.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/ChangeLog.diff?cvsroot=src&r1=1.1613&r2=1.1614
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/stdio/fvwrite.c.diff?cvsroot=src&r1=1.14&r2=1.15
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/stdio/local.h.diff?cvsroot=src&r1=1.30&r2=1.31
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/stdio/wbuf.c.diff?cvsroot=src&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/stdio/wsetup.c.diff?cvsroot=src&r1=1.6&r2=1.7