Another Haiku bug, found while porting GNU clisp:
2024-11-01 Bruno Haible <br...@clisp.org> select: Document a Haiku bug. * doc/posix-functions/select.texi: Mention a Haiku bug. diff --git a/doc/posix-functions/select.texi b/doc/posix-functions/select.texi index 148c4af3ce..6827a3acc7 100644 --- a/doc/posix-functions/select.texi +++ b/doc/posix-functions/select.texi @@ -42,4 +42,9 @@ @item On Linux, when some file descriptor refers to a regular file, @code{select} may fail, setting @code{errno} to @code{EBADF}. +@item +On Haiku, +@c https://dev.haiku-os.org/ticket/19220 +the maximum allowed value for the first argument is not @code{FD_SETSIZE} +but @code{FD_SETSIZE / 2}. @end itemize