]> Savannah Git Hosting - gnulib.git/commitdiff
pthread_sigmask: Document MidnightBSD bug.
authorBruno Haible <bruno@clisp.org>
Sun, 7 Feb 2021 16:31:24 +0000 (17:31 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 7 Feb 2021 16:31:24 +0000 (17:31 +0100)
* doc/posix-functions/pthread_sigmask.texi: Mention MidnightBSD as an
affected platform.
* m4/pthread_sigmask.m4 (gl_FUNC_PTHREAD_SIGMASK): Update
cross-compilation guess accordingly.

ChangeLog
doc/posix-functions/pthread_sigmask.texi
m4/pthread_sigmask.m4

index b6510cbd67f39c6ab67c89539eed0fa43c2d5ee1..d4633f57d36f7670ce352c06903e9d83c9fcbe65 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2021-02-07  Bruno Haible  <bruno@clisp.org>
+
+       pthread_sigmask: Document MidnightBSD bug.
+       * doc/posix-functions/pthread_sigmask.texi: Mention MidnightBSD as an
+       affected platform.
+       * m4/pthread_sigmask.m4 (gl_FUNC_PTHREAD_SIGMASK): Update
+       cross-compilation guess accordingly.
+
 2021-02-07  Bruno Haible  <bruno@clisp.org>
 
        immutable: Avoid test failures on MidnightBSD.
index 28146627051325b6e96df04dfdc11e9b7c56e831..aefe0a9a04bd735c1294afc28ab9a398fd27f2c1 100644 (file)
@@ -18,7 +18,7 @@ FreeBSD 6.4, OpenBSD 3.8.
 @item
 This function does nothing and always returns 0 in programs that are not
 linked with @code{-lpthread} on some platforms:
-FreeBSD 6.4, HP-UX 11.31, Solaris 9.
+FreeBSD 6.4, MidnightBSD 1.1, HP-UX 11.31, Solaris 9.
 @item
 When it fails, this functions returns @minus{}1 instead of the error number on
 some platforms:
index eb4c78496554597433843f15d790632ee089e462..7c7441591f9dd2b81d2c2d00d2ac84a0100ae1dd 100644 (file)
@@ -1,4 +1,4 @@
-# pthread_sigmask.m4 serial 19
+# pthread_sigmask.m4 serial 20
 dnl Copyright (C) 2011-2021 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -111,9 +111,9 @@ AC_DEFUN([gl_FUNC_PTHREAD_SIGMASK],
     AC_REQUIRE([AC_PROG_CC])
     AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
 
-    dnl On FreeBSD 6.4, HP-UX 11.31, Solaris 9, in programs that are not linked
-    dnl with -lpthread, the pthread_sigmask() function always returns 0 and has
-    dnl no effect.
+    dnl On FreeBSD 6.4, MidnightBSD 1.1, HP-UX 11.31, Solaris 9, in programs
+    dnl that are not linked with -lpthread, the pthread_sigmask() function
+    dnl always returns 0 and has no effect.
     if test -z "$LIB_PTHREAD_SIGMASK"; then
       case " $LIBS " in
         *' -pthread '*) ;;
@@ -138,7 +138,7 @@ AC_DEFUN([gl_FUNC_PTHREAD_SIGMASK],
                 [
                  changequote(,)dnl
                  case "$host_os" in
-                   freebsd* | hpux* | solaris | solaris2.[2-9]*)
+                   freebsd* | midnightbsd* | hpux* | solaris | solaris2.[2-9]*)
                      gl_cv_func_pthread_sigmask_in_libc_works="guessing no";;
                    *)
                      gl_cv_func_pthread_sigmask_in_libc_works="guessing yes";;