On 8/22/21 11:54 AM, Benno Schulenberg wrote:
> Hi,
> 
> On 
> https://www.gnu.org/software/gnulib/manual/html_node/Glibc-stdlib_002eh.html
> the entry for 'mkstemps' is out of alphabetical order.  This is confusing.
> 
> (I had downloaded the PDF of the manual, searched for mkstemps, paged up a 
> bit,
> and then -- scrolling back down -- wondered where mkstemps went, expecting it 
> to
> be after mkostemps.)
> 
> Benno

mkstemps _does_ come after mkostemps, but the mrand48_r function sneaked
between the two.  I pushed the attached fix.

Thanks for reporting this.

Have a nice day,
Berny
>From e2a4a093d2d759644a1b5740d5427b53d73f5ab7 Mon Sep 17 00:00:00 2001
From: Bernhard Voelker <[email protected]>
Date: Sun, 22 Aug 2021 16:06:47 +0200
Subject: [PATCH] doc: fix order of stdlib functions

* doc/gnulib.texi (node Glibc stdlib.h): Move mrand48_r after mkstemps.
Reported by Benno Schulenberg.
---
 ChangeLog       | 6 ++++++
 doc/gnulib.texi | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 732b6f1fff..ef28c2b3d5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2021-08-22  Bernhard Voelker  <[email protected]>
+
+	doc: fix order of stdlib functions
+	* doc/gnulib.texi (node Glibc stdlib.h): Move mrand48_r after mkstemps.
+	Reported by Benno Schulenberg.
+
 2021-08-21  Bruno Haible  <[email protected]>
 
 	c-stack: Test for libsigsegv once, not twice.
diff --git a/doc/gnulib.texi b/doc/gnulib.texi
index 3a39d0fc20..58d9dab479 100644
--- a/doc/gnulib.texi
+++ b/doc/gnulib.texi
@@ -5786,8 +5786,8 @@ This list of functions is sorted according to the header that declares them.
 * lrand48_r::
 * mkostemp::
 * mkostemps::
-* mrand48_r::
 * mkstemps::
+* mrand48_r::
 * nrand48_r::
 * on_exit::
 * ptsname_r::
@@ -5831,8 +5831,8 @@ This list of functions is sorted according to the header that declares them.
 @include glibc-functions/lrand48_r.texi
 @include glibc-functions/mkostemp.texi
 @include glibc-functions/mkostemps.texi
-@include glibc-functions/mrand48_r.texi
 @include glibc-functions/mkstemps.texi
+@include glibc-functions/mrand48_r.texi
 @include glibc-functions/nrand48_r.texi
 @include glibc-functions/on_exit.texi
 @include glibc-functions/ptsname_r.texi
-- 
2.32.0

Reply via email to