This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix broken documentation build.


Brooks Moses wrote, at 2/25/2009 12:10 PM:
> 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.

The previously-attached patch was damaged by having tabs converted to
spaces, so it looked fine but wouldn't actually apply.  Here's a
corrected version.

- Brooks

diff -r -u ./newlib/libc/stdlib/Makefile.am /home/brooks/newlib/svk-merge/newlib/libc/stdlib/Makefile.am
--- ./newlib/libc/stdlib/Makefile.am	2009-02-25 11:26:44.000000000 -0800
+++ /home/brooks/newlib/svk-merge/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 -r -u ./newlib/libc/stdlib/Makefile.in /home/brooks/newlib/svk-merge/newlib/libc/stdlib/Makefile.in
--- ./newlib/libc/stdlib/Makefile.in	2009-02-25 11:31:09.000000000 -0800
+++ /home/brooks/newlib/svk-merge/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 -r -u ./newlib/libc/stdlib/stdlib.tex /home/brooks/newlib/svk-merge/newlib/libc/stdlib/stdlib.tex
--- ./newlib/libc/stdlib/stdlib.tex	2009-02-25 11:26:40.000000000 -0800
+++ /home/brooks/newlib/svk-merge/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 -r -u ./newlib/libc/stdlib/wcstod.c /home/brooks/newlib/svk-merge/newlib/libc/stdlib/wcstod.c
--- ./newlib/libc/stdlib/wcstod.c	2009-02-25 11:26:40.000000000 -0800
+++ /home/brooks/newlib/svk-merge/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.
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]