From: Damien Miller Date: Thu, 17 Feb 2022 11:54:19 +0000 (+1100) Subject: minix needs BROKEN_POLL too; chokes on /dev/null X-Git-Tag: V_8_9_P1~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f7fc6a43f1173e8b2c38770bf6cee485a562d03b;p=thirdparty%2Fopenssh-portable.git minix needs BROKEN_POLL too; chokes on /dev/null --- diff --git a/configure.ac b/configure.ac index 062682be0..a22eb444e 100644 --- a/configure.ac +++ b/configure.ac @@ -969,6 +969,9 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16)) ;; *-*-minix) AC_DEFINE([SETEUID_BREAKS_SETUID]) + # poll(2) seems to choke on /dev/null; "Bad file descriptor" + AC_DEFINE([BROKEN_POLL], [1], + [System poll(2) implementation is broken]) ;; mips-sony-bsd|mips-sony-newsos4) AC_DEFINE([NEED_SETPGRP], [1], [Need setpgrp to acquire controlling tty])