diff options
author | Bruno Haible <bruno@clisp.org> | 2021-02-08 21:35:14 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2021-02-08 21:35:14 +0100 |
commit | 548423f22f9a232188d849bf6b4c1abfb7adaa0c (patch) | |
tree | 5ac226d9fcb3da05fd834467716d25ca59e4c9c8 | |
parent | 5040f712e9ab0e1a203095f2c3dcca5b7d473f1d (diff) | |
download | gnulib-548423f22f9a232188d849bf6b4c1abfb7adaa0c.tar.gz gnulib-548423f22f9a232188d849bf6b4c1abfb7adaa0c.tar.bz2 |
Document non-standard prototypes on MidnightBSD.
* doc/posix-functions/initstate.texi: Mention different prototype on
MidnightBSD 2.0.
* doc/posix-functions/srandom.texi: Likewise.
* doc/posix-functions/getlogin_r.texi: Likewise.
* doc/glibc-functions/sethostname.texi: Likewise.
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | doc/glibc-functions/sethostname.texi | 2 | ||||
-rw-r--r-- | doc/posix-functions/getlogin_r.texi | 2 | ||||
-rw-r--r-- | doc/posix-functions/initstate.texi | 7 | ||||
-rw-r--r-- | doc/posix-functions/srandom.texi | 4 |
5 files changed, 22 insertions, 2 deletions
@@ -1,5 +1,14 @@ 2021-02-08 Bruno Haible <bruno@clisp.org> + Document non-standard prototypes on MidnightBSD. + * doc/posix-functions/initstate.texi: Mention different prototype on + MidnightBSD 2.0. + * doc/posix-functions/srandom.texi: Likewise. + * doc/posix-functions/getlogin_r.texi: Likewise. + * doc/glibc-functions/sethostname.texi: Likewise. + +2021-02-08 Bruno Haible <bruno@clisp.org> + posixtm tests: Fix warnings seen on MidnightBSD/x86. * tests/test-posixtm.c (main): Convert two 'time_t' values to 'long' for printing. diff --git a/doc/glibc-functions/sethostname.texi b/doc/glibc-functions/sethostname.texi index 8294a4a38c..d34f4a14a2 100644 --- a/doc/glibc-functions/sethostname.texi +++ b/doc/glibc-functions/sethostname.texi @@ -37,5 +37,5 @@ The first parameter is @code{char *} instead of @code{const char *} 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, Solaris 11 2010-11. +on some platforms: Mac OS X 10.12, MidnightBSD 2.0, Solaris 11 2010-11. @end itemize diff --git a/doc/posix-functions/getlogin_r.texi b/doc/posix-functions/getlogin_r.texi index d17c541365..c70eb32dd9 100644 --- a/doc/posix-functions/getlogin_r.texi +++ b/doc/posix-functions/getlogin_r.texi @@ -25,7 +25,7 @@ Portability problems not fixed by Gnulib: @itemize @item This function has an incompatible declaration on some platforms: -Solaris 11.4 (when @code{_POSIX_PTHREAD_SEMANTICS} is not defined). +MidnightBSD 2.0, Solaris 11.4 (when @code{_POSIX_PTHREAD_SEMANTICS} is not defined). @item This function fails even when standard input is a tty on some platforms: HP-UX 11.11. diff --git a/doc/posix-functions/initstate.texi b/doc/posix-functions/initstate.texi index fa03e99aa9..3346767485 100644 --- a/doc/posix-functions/initstate.texi +++ b/doc/posix-functions/initstate.texi @@ -18,4 +18,11 @@ Cygwin 1.5.25. Portability problems not fixed by Gnulib: @itemize +@item +The first parameter is @code{unsigned long} instead of @code{unsigned int} on +some platforms: +MidnightBSD 2.0. +@item +The third parameter is @code{long} instead of @code{size_t} on some platforms: +MidnightBSD 2.0. @end itemize diff --git a/doc/posix-functions/srandom.texi b/doc/posix-functions/srandom.texi index d553373c83..12df9161ae 100644 --- a/doc/posix-functions/srandom.texi +++ b/doc/posix-functions/srandom.texi @@ -22,4 +22,8 @@ Portability problems not fixed by Gnulib: This function has a slightly incompatible declaration (the return type being @samp{long} instead of @samp{void}) on some platforms: Cygwin 1.5.25. +@item +The parameter is @code{unsigned long} instead of @code{unsigned int} on some +platforms: +MidnightBSD 2.0. @end itemize |