From 0b06bc0c0f0617ee6a1be9b67944e34bedb23f63 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 21 Mar 2021 16:03:57 +0100 Subject: [PATCH] doc: More updates. * doc/glibc-functions/sethostname.texi: Update regarding macOS. * doc/glibc-functions/sethostname.texi: List the affected platforms. --- ChangeLog | 4 ++++ doc/glibc-functions/sethostname.texi | 6 ++++-- doc/posix-functions/setstate.texi | 3 ++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 83115ce87e..76ea9c3ebc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2021-03-21 Bruno Haible + doc: More updates. + * doc/glibc-functions/sethostname.texi: Update regarding macOS. + * doc/glibc-functions/sethostname.texi: List the affected platforms. + doc: Update for macOS 11.1. * doc/posix-headers/*.texi: Update. * doc/glibc-headers/*.texi: Update. diff --git a/doc/glibc-functions/sethostname.texi b/doc/glibc-functions/sethostname.texi index d34f4a14a2..9d6852d63e 100644 --- a/doc/glibc-functions/sethostname.texi +++ b/doc/glibc-functions/sethostname.texi @@ -34,8 +34,10 @@ Portability problems not fixed by Gnulib: @itemize @item The first parameter is @code{char *} instead of @code{const char *} -on some platforms: Solaris 11 2010-11. +on some platforms: +Solaris 11 2010-11. @item The second parameter is @code{int} instead of @code{size_t} -on some platforms: Mac OS X 10.12, MidnightBSD 2.0, Solaris 11 2010-11. +on some platforms: +macOS 11.1, MidnightBSD 2.0, Solaris 11 2010-11. @end itemize diff --git a/doc/posix-functions/setstate.texi b/doc/posix-functions/setstate.texi index 68c58ea100..826533f881 100644 --- a/doc/posix-functions/setstate.texi +++ b/doc/posix-functions/setstate.texi @@ -20,5 +20,6 @@ Portability problems not fixed by Gnulib: @itemize @item This function has a slightly incompatible declaration (the argument type being -@samp{const char *} instead of @samp{char *}) on some platforms. +@samp{const char *} instead of @samp{char *}) on some platforms: +macOS 11.1, AIX 7.1, HP-UX 11.31, IRIX 6.5, Solaris 11 OpenIndiana. @end itemize -- 2.39.5