src/newlib ChangeLog libc/stdlib/mbrtowc.c lib ...

jjohnstn@sources.redhat.com jjohnstn@sources.redhat.com
Wed Jan 21 20:09:00 GMT 2004


CVSROOT:	/cvs/src
Module name:	src
Changes by:	jjohnstn@sourceware.org	2004-01-21 20:09:16

Modified files:
	newlib         : ChangeLog 
	newlib/libc/stdlib: mbrtowc.c mbsrtowcs.c wcsrtombs.c 

Log message:
	2004-01-21  Jeff Johnston  <jjohnstn@redhat.com>
	
	* libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
	pointer to match C99 spec.
	* libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
	dst is NULL.  Also fix to not alter src pointer when dst is NULL
	and call _mbrtowc_r instead of _mbtowc_r.
	* libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
	of _wctomb_r.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/ChangeLog.diff?cvsroot=src&r1=1.627&r2=1.628
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/stdlib/mbrtowc.c.diff?cvsroot=src&r1=1.3&r2=1.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/stdlib/mbsrtowcs.c.diff?cvsroot=src&r1=1.3&r2=1.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/stdlib/wcsrtombs.c.diff?cvsroot=src&r1=1.4&r2=1.5



More information about the Newlib-cvs mailing list