]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tail,tee: avoid issues with many files on systems without poll
authorPádraig Brady <P@draigBrady.com>
Mon, 6 Mar 2023 13:01:26 +0000 (13:01 +0000)
committerPádraig Brady <P@draigBrady.com>
Mon, 6 Mar 2023 13:04:40 +0000 (13:04 +0000)
commite30af1e5840fdcabe3856f9ffcd6354b94d0a7ee
tree22313fe003398ec1ecaa0f3472f3c74d90937435
parent110bcd28386b1f47a4cd876098acb708fdcbbb25
tail,tee: avoid issues with many files on systems without poll

* src/iopoll.c (iopoll): Protect the call to select against
passing in a descriptor larger than FD_SETSIZE.
src/iopoll.c