bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] doc: poll: document poll of special files not supported on macOS


From: Pádraig Brady
Subject: [PATCH] doc: poll: document poll of special files not supported on macOS
Date: Fri, 2 Dec 2022 14:49:36 +0000

* doc/posix-functions/poll.texi: Reinstate (updated) macOS info,
removed in recent cleanup re removal of support for Mac OS X <= 10.4.
* m4/poll.m4: Update macOS to latest tested version.
---
 ChangeLog                     | 7 +++++++
 doc/posix-functions/poll.texi | 2 +-
 m4/poll.m4                    | 2 +-
 3 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 90664d16a5..aa24e4d999 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2022-12-02  Pádraig Brady  <P@draigBrady.com>
+
+       doc: poll: document poll of special files not supported on macOS
+       * doc/posix-functions/poll.texi: Reinstate (updated) macOS info,
+       removed in recent cleanup re removal of support for Mac OS X <= 10.4.
+       * m4/poll.m4: Update macOS to latest tested version.
+
 2022-11-29  Pádraig Brady  <P@draigBrady.com>
 
        add new ronna and quetta SI prefixes
diff --git a/doc/posix-functions/poll.texi b/doc/posix-functions/poll.texi
index c1efe87ad9..1fad8f85a9 100644
--- a/doc/posix-functions/poll.texi
+++ b/doc/posix-functions/poll.texi
@@ -14,7 +14,7 @@ mingw, MSVC 14, HP NonStop.
 @item
 This function doesn't work on special files like @file{/dev/null} and ttys like
 @file{/dev/tty} on some platforms:
-AIX 5.3.
+macOS 10.15, AIX 5.3.
 @end itemize
 
 Portability problems not fixed by Gnulib:
diff --git a/m4/poll.m4 b/m4/poll.m4
index eb3b78617f..4a9a6a8d8a 100644
--- a/m4/poll.m4
+++ b/m4/poll.m4
@@ -15,7 +15,7 @@ AC_DEFUN([gl_FUNC_POLL],
   else
     AC_CHECK_FUNC([poll],
       [# Check whether poll() works on special files (like /dev/null) and
-       # and ttys (like /dev/tty). On Mac OS X 10.4.0 and AIX 5.3, it doesn't.
+       # and ttys (like /dev/tty). On macOS 10.15 and AIX 5.3, it doesn't.
        AC_RUN_IFELSE([AC_LANG_SOURCE([[
 #include <fcntl.h>
 #include <poll.h>
-- 
2.26.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]