From: Bruno Haible Date: Sun, 29 Dec 2024 22:06:06 +0000 (+0100) Subject: qsort_r: Update documentation. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c828e7623a9a393023a692930101a83fbf7bf2e9;p=thirdparty%2Fgnulib.git qsort_r: Update documentation. * modules/qsort_r (Description): Say "POSIX signature". * doc/posix-functions/qsort_r.texi: Mention the qsort_r module. --- diff --git a/ChangeLog b/ChangeLog index e312d0a5a7..011eb953d0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2024-12-29 Bruno Haible + + qsort_r: Update documentation. + * modules/qsort_r (Description): Say "POSIX signature". + * doc/posix-functions/qsort_r.texi: Mention the qsort_r module. + 2024-12-29 Pádraig Brady git-version-gen: reinstate executable permission diff --git a/doc/posix-functions/qsort_r.texi b/doc/posix-functions/qsort_r.texi index a26c817be0..98248ec233 100644 --- a/doc/posix-functions/qsort_r.texi +++ b/doc/posix-functions/qsort_r.texi @@ -6,7 +6,8 @@ POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/fun Documentation:@* @uref{https://www.kernel.org/doc/man-pages/online/pages/man3/qsort_r.3.html,,man qsort_r} -Gnulib module: --- +Gnulib module: qsort_r +@mindex qsort_r Portability problems fixed by Gnulib: @itemize @@ -15,7 +16,7 @@ This function is missing on some platforms: glibc 2.7, NetBSD 10.0, OpenBSD 7.5, Minix 3.1.8, AIX 7.1, HP-UX 11.31, Solaris 11.4, Cygwin 1.7.x, mingw, MSVC 14, Android 9.0. @item This function has an incompatible API on some platforms: -FreeBSD 13.2. +FreeBSD 13.4. @end itemize Portability problems not fixed by Gnulib: diff --git a/modules/qsort_r b/modules/qsort_r index 22f51f895f..4516ac4e17 100644 --- a/modules/qsort_r +++ b/modules/qsort_r @@ -1,5 +1,5 @@ Description: -Reentrant sort function with GNU signature +Reentrant sort function with POSIX signature Files: lib/qsort.c @@ -14,7 +14,7 @@ configure.ac: gl_FUNC_QSORT_R dnl If the function is missing from the system or has an unknown signature: gl_CONDITIONAL([GL_COND_OBJ_QSORT], [test $HAVE_QSORT_R = 0]) -dnl If the function exists, but it has the BSD signature: +dnl If the function exists, but it has the FreeBSD signature: gl_CONDITIONAL([GL_COND_OBJ_QSORT_R], [test $HAVE_QSORT_R = 1 && test $REPLACE_QSORT_R = 1]) gl_STDLIB_MODULE_INDICATOR([qsort_r])