On Thu, Oct 21, 2021 at 12:48 AM Martin Liška <mli...@suse.cz> wrote: > > The patch is about sensitive handling of file descriptors opened > by make's jobserver.
Thanks. I think a better approach would be, at the start of main, fstat the descriptors up to 10 and record the ones for which fstat succeeds. Then at the end of main only check the descriptors for which fstat failed earlier. I can work on that at some point if you don't want to tackle it. Ian