This is the mail archive of the
newlib-cvs@sourceware.org
mailing list for the newlib project.
src/newlib ChangeLog libc/stdio/open_memstream ...
- From: corinna at sourceware dot org
- To: newlib-cvs at sourceware dot org
- Date: 18 Feb 2009 17:35:24 -0000
- Subject: src/newlib ChangeLog libc/stdio/open_memstream ...
CVSROOT: /cvs/src
Module name: src
Changes by: corinna@sourceware.org 2009-02-18 17:35:24
Modified files:
newlib : ChangeLog
newlib/libc/stdio: open_memstream.c
newlib/libc/include: wchar.h
Log message:
* libc/stdio/open_memstream.c: Add open_wmemstream to doumentation.
(struct memstream): Add wide element.
Change saved to a union to take char and wchar_t values.
(memwriter): Accommodate wide-oriented oeprations.
(memseeker): Ditto.
(memseeker64): Ditto.
(memcloser): Ditto.
(internal_open_memstream_r): New static function. Take functionality
from former _open_memstream_r and handle additional "wide" parameter.
(_open_memstream_r): Just call internal_open_memstream_r with wide==-1
from here.
(_open_wmemstream_r): New function.
(open_wmemstream): Ditto.
* libc/include/wchar.h (open_wmemstream): Declare.
(_open_wmemstream_r): Declare.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/ChangeLog.diff?cvsroot=src&r1=1.1264&r2=1.1265
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/stdio/open_memstream.c.diff?cvsroot=src&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/include/wchar.h.diff?cvsroot=src&r1=1.20&r2=1.21