]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix build on openbsd 7.0 (#929)
authorFrancesco Chemolli <kinkie@squid-cache.org>
Wed, 10 Nov 2021 19:07:44 +0000 (19:07 +0000)
committerAmos Jeffries <yadij@users.noreply.github.com>
Tue, 8 Feb 2022 18:41:44 +0000 (07:41 +1300)
commit700de16195952cb5c48f520c92c1c7e48c4cf7ae
tree19be6848cd419e0b902990d22213e3204f109e01
parent1332f8d606485b5a2f57277634c2f6f7855bd9a6
Fix build on openbsd 7.0 (#929)

OpenBSD doesn't offer CPU_SET and CPU_ISSET. Implement their stubs as
inline functions to give the compiler proper hints about arguments (non)
use.

Update buildtest.sh to try and use relative paths first. This prevents
autoconf complaining and failing if the directory path includes
characters from an unsafe set.
compat/cpu.h
src/cache_cf.cc
src/comm.cc
test-suite/buildtest.sh