2009-02-25 Brooks Moses <brooks@codesourcery.com>

* libc/stdlib/Makefile.am (CHEWOUT_FILES): Add
          mbsnrtowcs.def, wcsnrtombs.def.
        * libc/stdlib/Makefile.in: Regenerate.
        * libc/stdlib/stdlib.tex (@menu): Use correct section
          names for mbsrtowcs, wcsrtombs.
        * libc/stdlib/wcstod.c: Remove stray character in
          documentation.
This commit is contained in:
Jeff Johnston 2009-02-25 21:33:18 +00:00
parent 8d8bf5a5e2
commit 297367e3b3
5 changed files with 22 additions and 7 deletions

View File

@ -1,11 +1,22 @@
2009-02-25 Brooks Moses <brooks@codesourcery.com>
* libc/stdlib/Makefile.am (CHEWOUT_FILES): Add
mbsnrtowcs.def, wcsnrtombs.def.
* libc/stdlib/Makefile.in: Regenerate.
* libc/stdlib/stdlib.tex (@menu): Use correct section
names for mbsrtowcs, wcsrtombs.
* libc/stdlib/wcstod.c: Remove stray character in
documentation.
2009-02-25 Corinna Vinschen <corinna@vinschen.de> 2009-02-25 Corinna Vinschen <corinna@vinschen.de>
* mbtowc_r.c (_mbtowc_r): Remove conversion of 5 and 6 byte UTF-8 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Remove conversion of 5 and 6
byte UTF-8
sequences since they are invalid in the Unicode standard. sequences since they are invalid in the Unicode standard.
Handle surrogate pairs in case of wchar_t == UTF-16. Handle surrogate pairs in case of wchar_t == UTF-16.
* wctomb_r.c (_wctomb_r): Don't convert invalid Unicode wchar_t * libc/stdlib/wctomb_r.c (_wctomb_r): Don't convert invalid Unicode
values beyond 0x10ffff into UTF-8 chars. Handle surrogate pairs in wchar_t values beyond 0x10ffff into UTF-8 chars. Handle surrogate
case of wchar_t == UTF-16. pairs in case of wchar_t == UTF-16.
2009-02-24 Kevin Buettner <kevinb@redhat.com> 2009-02-24 Kevin Buettner <kevinb@redhat.com>

View File

@ -229,6 +229,7 @@ CHEWOUT_FILES= \
malloc.def \ malloc.def \
mallocr.def \ mallocr.def \
mblen.def \ mblen.def \
mbsnrtowcs.def \
mbstowcs.def \ mbstowcs.def \
mbtowc.def \ mbtowc.def \
mlock.def \ mlock.def \
@ -241,6 +242,7 @@ CHEWOUT_FILES= \
strtoll.def \ strtoll.def \
strtoul.def \ strtoul.def \
strtoull.def \ strtoull.def \
wcsnrtombs.def \
wcstod.def \ wcstod.def \
wcstol.def \ wcstol.def \
wcstoll.def \ wcstoll.def \

View File

@ -520,6 +520,7 @@ CHEWOUT_FILES = \
malloc.def \ malloc.def \
mallocr.def \ mallocr.def \
mblen.def \ mblen.def \
mbsnrtowcs.def \
mbstowcs.def \ mbstowcs.def \
mbtowc.def \ mbtowc.def \
mlock.def \ mlock.def \
@ -532,6 +533,7 @@ CHEWOUT_FILES = \
strtoll.def \ strtoll.def \
strtoul.def \ strtoul.def \
strtoull.def \ strtoull.def \
wcsnrtombs.def \
wcstod.def \ wcstod.def \
wcstol.def \ wcstol.def \
wcstoll.def \ wcstoll.def \

View File

@ -29,7 +29,7 @@ The corresponding declarations are in the header file @file{stdlib.h}.
* malloc:: Allocate and manage memory (malloc, realloc, free) * malloc:: Allocate and manage memory (malloc, realloc, free)
* mallinfo:: Get information about allocated memory * mallinfo:: Get information about allocated memory
* __malloc_lock:: Lock memory pool for malloc and free * __malloc_lock:: Lock memory pool for malloc and free
* mbsnrtowcs:: Convert a character string to a wide-character string * mbsrtowcs:: Convert a character string to a wide-character string
* mbstowcs:: Minimal multibyte string to wide string converter * mbstowcs:: Minimal multibyte string to wide string converter
* mblen:: Minimal multibyte length * mblen:: Minimal multibyte length
* mbtowc:: Minimal multibyte to wide character converter * mbtowc:: Minimal multibyte to wide character converter
@ -41,7 +41,7 @@ The corresponding declarations are in the header file @file{stdlib.h}.
* strtoll:: String to long long * strtoll:: String to long long
* strtoul:: String to unsigned long * strtoul:: String to unsigned long
* strtoull:: String to unsigned long long * strtoull:: String to unsigned long long
* wcsnrtombs:: Convert a wide-character string to a character string * wcsrtombs:: Convert a wide-character string to a character string
* wcstod:: Wide string to double or float * wcstod:: Wide string to double or float
* wcstol:: Wide string to long * wcstol:: Wide string to long
* wcstoll:: Wide string to long long * wcstoll:: Wide string to long long

View File

@ -71,7 +71,7 @@ DESCRIPTION
round-even rule. However, <<wcstof>> is currently subject to round-even rule. However, <<wcstof>> is currently subject to
double rounding errors. double rounding errors.
The alternate functions <<_wcstod_r>> and <<_wcstof_r>:> are The alternate functions <<_wcstod_r>> and <<_wcstof_r>> are
reentrant versions of <<wcstod>> and <<wcstof>>, respectively. reentrant versions of <<wcstod>> and <<wcstof>>, respectively.
The extra argument <[reent]> is a pointer to a reentrancy structure. The extra argument <[reent]> is a pointer to a reentrancy structure.