varnish-cache icon indicating copy to clipboard operation
varnish-cache copied to clipboard

various fixes to get master branch to compile and run on macOS

Open perbu opened this issue 4 months ago • 2 comments

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 avatar Oct 06 '25 14:10 perbu

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

perbu avatar Oct 06 '25 16:10 perbu

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.

bsdphk avatar Dec 08 '25 13:12 bsdphk