[Openvpn-devel] [PATCH] Ignore deprecation warning for daemon on macOS

2022-02-24 Thread Saifur Rahman Mohsin via Openvpn-devel
Follow up to a480eaa (does the same for auth-pam.c). Signed-off-by: Saifur Rahman Mohsin --- src/plugins/auth-pam/auth-pam.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/src/plugins/auth-pam/auth-pam.c b/src/plugins/auth-pam/auth-pam.c index 3be647e9..33492e9c 100644 --- a/src/plugi

[Openvpn-devel] [PATCH] Ignore deprecation warning for daemon on macOS

2020-10-05 Thread Arne Schwabe
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 --- src/openvpn/init.c|