]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Ignore deprecation warning for daemon on macOS
authorArne Schwabe <arne@rfc2549.org>
Mon, 5 Oct 2020 09:18:05 +0000 (11:18 +0200)
committerGert Doering <gert@greenie.muc.de>
Sun, 11 Oct 2020 15:50:23 +0000 (17:50 +0200)
commita480eaae1d32a6c3970911a561a64c1019944f92
tree555e1f6777174c1815e8fe5aff270813b05d931e
parent14bd92b7e4a698678200f439ddda1ee321bb8ee8
Ignore deprecation warning for daemon on macOS

macOS warns that we should posix_spawn instead. However posix_spawn
would require a major redesign of code to daemonise or drop the --daemon
feature on macOS. Ignore the clang warning in order to allow -Werror
compile on macOS.

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20201005091805.17260-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg21171.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/init.c
src/plugins/down-root/down-root.c