This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[PATCH] Fix broken documentation build.
- From: Brooks Moses <brooks at codesourcery dot com>
- To: newlib at sourceware dot org
- Date: Wed, 25 Feb 2009 12:10:34 -0800
- Subject: [PATCH] Fix broken documentation build.
The recent wcsnrtombs/mbsnrtowcs commit (and something else where a
stray character in stdlib/wcstod.c got accidentally committed) appear to
have broken my documentation build in a couple of fairly trivial ways.
This patch corrects the problems.
----------------------------------------------------------------------
2009-02-25 Brooks Moses <brooks@codesourcery.com>
* newlib/libc/stdlib/Makefile.am (CHEWOUT_FILES): Add
mbsnrtowcs.def, wcsnrtombs.def.
* newlib/libc/stdlib/Makefile.in: Regenerate.
* newlib/libc/stdlib/stdlib.tex (@menu): Use correct section
names for mbsrtowcs, wcsrtombs.
* newlib/libc/stdlib/wcstod.c: Remove stray character in
documentation.
----------------------------------------------------------------------
Ok to commit?
- Brooks
brooks@henry1:/scratch/brooks/strcpy/newlib-merge-2$ diff -u -r trunk ../src/newlib-trunk
diff -u -r trunk/newlib/libc/stdlib/Makefile.am ../src/newlib-trunk/newlib/libc/stdlib/Makefile.am
--- trunk/newlib/libc/stdlib/Makefile.am 2009-02-25 11:26:44.000000000 -0800
+++ ../src/newlib-trunk/newlib/libc/stdlib/Makefile.am 2009-02-25 01:20:30.000000000 -0800
@@ -229,6 +229,7 @@
malloc.def \
mallocr.def \
mblen.def \
+ mbsnrtowcs.def \
mbstowcs.def \
mbtowc.def \
mlock.def \
@@ -241,6 +242,7 @@
strtoll.def \
strtoul.def \
strtoull.def \
+ wcsnrtombs.def \
wcstod.def \
wcstol.def \
wcstoll.def \
diff -u -r trunk/newlib/libc/stdlib/Makefile.in ../src/newlib-trunk/newlib/libc/stdlib/Makefile.in
--- trunk/newlib/libc/stdlib/Makefile.in 2009-02-25 11:31:09.000000000 -0800
+++ ../src/newlib-trunk/newlib/libc/stdlib/Makefile.in 2009-02-25 01:20:44.106460000 -0800
@@ -523,6 +523,7 @@
malloc.def \
mallocr.def \
mblen.def \
+ mbsnrtowcs.def \
mbstowcs.def \
mbtowc.def \
mlock.def \
@@ -535,6 +536,7 @@
strtoll.def \
strtoul.def \
strtoull.def \
+ wcsnrtombs.def \
wcstod.def \
wcstol.def \
wcstoll.def \
diff -u -r trunk/newlib/libc/stdlib/stdlib.tex ../src/newlib-trunk/newlib/libc/stdlib/stdlib.tex
--- trunk/newlib/libc/stdlib/stdlib.tex 2009-02-25 11:26:40.000000000 -0800
+++ ../src/newlib-trunk/newlib/libc/stdlib/stdlib.tex 2009-02-25 01:33:43.000000000 -0800
@@ -29,7 +29,7 @@
* malloc:: Allocate and manage memory (malloc, realloc, free)
* mallinfo:: Get information about allocated memory
* __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
* mblen:: Minimal multibyte length
* mbtowc:: Minimal multibyte to wide character converter
@@ -41,7 +41,7 @@
* strtoll:: String to long long
* strtoul:: String to unsigned 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
* wcstol:: Wide string to long
* wcstoll:: Wide string to long long
diff -u -r trunk/newlib/libc/stdlib/wcstod.c ../src/newlib-trunk/newlib/libc/stdlib/wcstod.c
--- trunk/newlib/libc/stdlib/wcstod.c 2009-02-25 11:26:40.000000000 -0800
+++ ../src/newlib-trunk/newlib/libc/stdlib/wcstod.c 2009-02-25 01:25:08.000000000 -0800
@@ -71,7 +71,7 @@
round-even rule. However, <<wcstof>> is currently subject to
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.
The extra argument <[reent]> is a pointer to a reentrancy structure.