This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 1/2] Fix typo in the documentation of gcvt
- From: "Gabriel F. T. Gomes" <gabriel at inconstante dot eti dot br>
- To: <libc-alpha at sourceware dot org>
- Date: Wed, 31 Oct 2018 21:53:29 -0300
- Subject: [PATCH 1/2] Fix typo in the documentation of gcvt
I wasn't sure if this counts as a trivial fix per our rules [1]. The
rules explicitly state that fixing a spelling or grammatical error
counts as a trivial fix, but they do not state anything about typos.
If this commit could be considered a trivial fix, I will also update
the wiki.
[1] https://sourceware.org/glibc/wiki/Consensus#Trivial_Bug-Fix_Changes
-- 8< --
In the description of gcvt, add missing closing parenthesis in the
comparison with sprintf.
* manual/arith.texi (gcvt): Add missing closing parenthesis.
---
manual/arith.texi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/manual/arith.texi b/manual/arith.texi
index 5e123c3ccd..5080abf063 100644
--- a/manual/arith.texi
+++ b/manual/arith.texi
@@ -3078,7 +3078,7 @@ to @code{fcvt}.
@c gcvt calls sprintf, that ultimately calls vfprintf, which malloc()s
@c args_value if it's too large, but gcvt never exercises this path.
@code{gcvt} is functionally equivalent to @samp{sprintf(buf, "%*g",
-ndigit, value}. It is provided only for compatibility's sake. It
+ndigit, value)}. It is provided only for compatibility's sake. It
returns @var{buf}.
If @var{ndigit} decimal digits would exceed the precision of a
--
2.14.5