Skip to content

Conversation

@perbu
Copy link
Contributor

@perbu perbu commented Oct 6, 2025

First three commits are just trying to get things to compile without warnings.

The last one is an overflow. No /proc on macOS. Falls back to sysconf(_SC_OPEN_MAX) returns LONG_MAX, which overflows the int and then assert(maxfd > 0) isn't true anymore.

I've built and ran make check on Linux afterwards. Seems to work.

@perbu
Copy link
Contributor Author

perbu commented Oct 6, 2025

I suspect that failure is because of a flaky test. I can't see the relevance.

@bsdphk
Copy link
Contributor

bsdphk commented Dec 8, 2025

Sorry about the delay in getting to this.

I have resolved to of the problems in a more general way, will get to the rest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants