From: Paul Eggert <eggert@cs.ucla.edu>
Date: Tue, 21 Dec 2010 07:48:19 +0000 (-0800)
Subject: ftoastr: fix comment again
X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d11de3302086268ee41416ec650fd90536ac5cf6;p=pspp

ftoastr: fix comment again

* lib/ftoastr.h: Fix typo in comment.  Noted by Ben Pfaff in
<http://lists.gnu.org/archive/html/bug-gnulib/2010-12/msg00149.html>.
Also, simplify example a bit by using flags = 0.
---

diff --git a/ChangeLog b/ChangeLog
index 55e680e0c7..58c278232a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-12-20  Paul Eggert  <eggert@cs.ucla.edu>
+
+	ftoastr: fix comment again
+	* lib/ftoastr.h: Fix typo in comment.  Noted by Ben Pfaff in
+	<http://lists.gnu.org/archive/html/bug-gnulib/2010-12/msg00149.html>.
+	Also, simplify example a bit by using flags = 0.
+
 2010-12-20  Bruno Haible  <bruno@clisp.org>
 
 	round*, trunc*: Update documentation regarding glibc.
diff --git a/lib/ftoastr.h b/lib/ftoastr.h
index edae494dda..c16a884f2b 100644
--- a/lib/ftoastr.h
+++ b/lib/ftoastr.h
@@ -39,8 +39,8 @@
 
    Example:
 
-     char buf[DBL_ABUFSIZE_BOUND];
-     int r = dtoastr (buf, sizeof buf, FTOASTR_UPPER_E, 0, 0.1);
+     char buf[DBL_BUFSIZE_BOUND];
+     int r = dtoastr (buf, sizeof buf, 0, 0, 0.1);
 
    In the C locale, this sets R to 3 and stores "0.1" into BUF.  */