From 189662f6fcbf9af62641181e6844a2746b389897 Mon Sep 17 00:00:00 2001
From: Bruno Haible <bruno@clisp.org>
Date: Sat, 31 Aug 2024 01:20:50 +0200
Subject: [PATCH] doc: Mention an mknod bug.

* doc/posix-functions/mknod.texi: Mention the S_IFIFO flag bug.
---
 ChangeLog                      | 5 +++++
 doc/posix-functions/mknod.texi | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 737b3dc490..7ee0240bcd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-08-30  Bruno Haible  <bruno@clisp.org>
+
+	doc: Mention an mknod bug.
+	* doc/posix-functions/mknod.texi: Mention the S_IFIFO flag bug.
+
 2024-08-30  Bruno Haible  <bruno@clisp.org>
 
 	posix_openpt tests: Fix test failure on Haiku.
diff --git a/doc/posix-functions/mknod.texi b/doc/posix-functions/mknod.texi
index 3261abfdf3..923d951337 100644
--- a/doc/posix-functions/mknod.texi
+++ b/doc/posix-functions/mknod.texi
@@ -15,6 +15,11 @@ FreeBSD 7.2, NetBSD 8.0, OpenBSD 7.5.
 This function mishandles trailing slash on some platforms:
 FreeBSD 7.2, Solaris 9.
 @item
+This function does not handle the @code{S_IFIFO} flag on some platforms:
+macOS 14, DragonFly 6.0,
+@c https://dev.haiku-os.org/ticket/19032
+Haiku.
+@item
 This function is missing on some platforms; however, the replacement
 always fails with @code{ENOSYS}:
 mingw, MSVC 14.
-- 
2.39.5