Avoid failing_test unused warning in example_test
PATCH v2 1/6 Avoid failing_test unused warning in example_test
This warnings makes make check fail if Werror is exmaple on LLVM/Clang on macOS for me.
--- tests/unit_tests/example_test/test.c | 1 + 1 file changed, 1 insertion(+)
tests/unit_tests/example_test/test.c +1 -0
@@ -38,6 +38,7 @@ int_test_success(void **state)assert_int_equal (*answer,42 ); } +__attribute__((unused))static void failing_test (void **state) {
Signature · 1 line
2.31.1
PATCH v2 2/6 Remove --disable-multihome option
With this change we always build multihome support if the operating system supports it.
Patch v2: Remove also from config-msvc.h
--- config-msvc.h | 1 - configure.ac | 7 ------- src/openvpn/syshead.h | 2 +- 3 files changed, 1 insertion(+), 9 deletions(-)
config-msvc.h +0 -1
@@ -10,7 +10,6 @@#define ENABLE_LZO 1#define ENABLE_LZ4 1#define ENABLE_MANAGEMENT 1 -#define ENABLE_MULTIHOME 1#define ENABLE_PKCS11 1#define ENABLE_PLUGIN 1#define ENABLE_PORT_SHARE 1
configure.ac +0 -7
@@ -121,13 +121,6 @@ AC_ARG_ENABLE( [enable_fragment="yes"] ) -AC_ARG_ENABLE( - [multihome], - [AS_HELP_STRING([--disable-multihome], [disable multi-homed UDP server support (--multihome) @<:@default=yes@:>@])], - , - [enable_multihome="yes"] -) - AC_ARG_ENABLE( [port-share], [AS_HELP_STRING([--disable-port-share], [disable TCP server port-share support (--port-share) @<:@default=yes@:>@])],
src/openvpn/syshead.h +1 -1
@@ -391,7 +391,7 @@ typedef int MIB_TCP_STATE;* Does this platform support linux-style IP_PKTINFO * or bsd-style IP_RECVDSTADDR ? */ -#if defined(ENABLE_MULTIHOME ) && ((defined(HAVE_IN_PKTINFO ) && defined(IP_PKTINFO )) || defined(IP_RECVDSTADDR )) && defined(HAVE_MSGHDR ) && defined(HAVE_CMSGHDR ) && defined(HAVE_IOVEC ) && defined(CMSG_FIRSTHDR ) && defined(CMSG_NXTHDR ) && defined(HAVE_RECVMSG ) && defined(HAVE_SENDMSG ) +#if ((defined(HAVE_IN_PKTINFO ) && defined(IP_PKTINFO )) || defined(IP_RECVDSTADDR )) && defined(HAVE_MSGHDR ) && defined(HAVE_CMSGHDR ) && defined(HAVE_IOVEC ) && defined(CMSG_FIRSTHDR ) && defined(CMSG_NXTHDR ) && defined(HAVE_RECVMSG ) && defined(HAVE_SENDMSG )#define ENABLE_IP_PKTINFO 1#else #define ENABLE_IP_PKTINFO 0
Signature · 1 line
2.31.1
Re: [Openvpn-devel] [PATCH v2 2/6] Remove --disable-multihome option
Hi,
Quoted 10 lines · Arne Schwabe
With this change we always build multihome support if the operating system supports it.
Patch v2: Remove also from
config-msvc.hconfigure.ac +0
-0
configure.ac AC_ARG_ENABLE( · line 125
Quoted 5 lines
configure.ac +0
-2@@ -121,13 +121,6 @@ AC_ARG_ENABLE( [enable_fragment="yes"] ) -AC_ARG_ENABLE( - [multihome],
This is missing the second hunk in configure.ac
test "${enable_multihome}" = "yes" && AC_DEFINE([ENABLE_MULTIHOME], [1], [Enable multi-homed UDP server capability])
otherwise, ACK.
gert
Signature · 6 lines
"If was one thing all people took for granted, was conviction that if you
feed honest figures into a computer, honest figures come out. Never doubted
it myself till I met a computer with a sense of humor."
Robert A. Heinlein, The Moon is a Harsh Mistress
Gert Doering - Munich, Germany [email protected]...PATCH v3 1/1 Remove --disable-multihome option
With this change we always build multihome support if the operating system supports it.
Patch v2: Remove also from config-msvc.h Patch v3: Remove also another line from configure.ac
--- config-msvc.h | 1 - configure.ac | 8 -------- src/openvpn/syshead.h | 2 +- 3 files changed, 1 insertion(+), 10 deletions(-)
config-msvc.h +0 -1
@@ -10,7 +10,6 @@#define ENABLE_LZO 1#define ENABLE_LZ4 1#define ENABLE_MANAGEMENT 1 -#define ENABLE_MULTIHOME 1#define ENABLE_PKCS11 1#define ENABLE_PLUGIN 1#define ENABLE_PORT_SHARE 1
configure.ac +0 -8
@@ -121,13 +121,6 @@ AC_ARG_ENABLE( [enable_fragment="yes"] ) -AC_ARG_ENABLE( - [multihome], - [AS_HELP_STRING([--disable-multihome], [disable multi-homed UDP server support (--multihome) @<:@default=yes@:>@])], - , - [enable_multihome="yes"] -) - AC_ARG_ENABLE( [port-share], [AS_HELP_STRING([--disable-port-share], [disable TCP server port-share support (--port-share) @<:@default=yes@:>@])],
@@ -1150,7 +1143,6 @@ fi test "${ac_cv_header_sys_uio_h}" = "yes" && AC_DEFINE([HAVE_IOVEC], [1], [struct iovec needed for IPv6 support]) test "${enable_management}" = "yes" && AC_DEFINE([ENABLE_MANAGEMENT], [1], [Enable management server capability]) -test "${enable_multihome}" = "yes" && AC_DEFINE([ENABLE_MULTIHOME], [1], [Enable multi-homed UDP server capability]) test "${enable_debug}" = "yes" && AC_DEFINE([ENABLE_DEBUG], [1], [Enable debugging support]) test "${enable_small}" = "yes" && AC_DEFINE([ENABLE_SMALL], [1], [Enable smaller executable size]) test "${enable_fragment}" = "yes" && AC_DEFINE([ENABLE_FRAGMENT], [1], [Enable internal fragmentation support])
src/openvpn/syshead.h +1 -1
@@ -381,7 +381,7 @@ typedef int MIB_TCP_STATE;* Does this platform support linux-style IP_PKTINFO * or bsd-style IP_RECVDSTADDR ? */ -#if defined(ENABLE_MULTIHOME ) && ((defined(HAVE_IN_PKTINFO ) && defined(IP_PKTINFO )) || defined(IP_RECVDSTADDR )) && defined(HAVE_MSGHDR ) && defined(HAVE_CMSGHDR ) && defined(HAVE_IOVEC ) && defined(CMSG_FIRSTHDR ) && defined(CMSG_NXTHDR ) && defined(HAVE_RECVMSG ) && defined(HAVE_SENDMSG ) +#if ((defined(HAVE_IN_PKTINFO ) && defined(IP_PKTINFO )) || defined(IP_RECVDSTADDR )) && defined(HAVE_MSGHDR ) && defined(HAVE_CMSGHDR ) && defined(HAVE_IOVEC ) && defined(CMSG_FIRSTHDR ) && defined(CMSG_NXTHDR ) && defined(HAVE_RECVMSG ) && defined(HAVE_SENDMSG )#define ENABLE_IP_PKTINFO 1#else #define ENABLE_IP_PKTINFO 0
Signature · 1 line
2.31.1
[Openvpn-devel] [PATCH applied] Re: Remove --disable-multihome option
Stared-at, fed to the buildbots, all good.
Your patch has been applied to the master branch.
commit f17d529c6635eabba61a054b64603b573ad5dbeb
Author: Arne Schwabe Date: Mon May 3 12:56:38 2021 +0200
Remove --disable-multihome option
Signed-off-by: Arne Schwabe <[email protected]...>
Acked-by: Gert Doering <[email protected]...>
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg22290.html
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering
PATCH v2 3/6 Move direct.h header where it is used
In reply to Arne SchwabeThe direct.h header provides only a handful of functions [1] of which we only use _wchdir. Directly included the direct.h file where it is used and remove autoconf magic around it.
Patch V2: also remove from config-msvc.h
--- config-msvc.h | 1 - configure.ac | 2 +- src/openvpn/platform.c | 4 ++++ src/openvpn/syshead.h | 4 ---- 4 files changed, 5 insertions(+), 6 deletions(-)
config-msvc.h +0 -1
@@ -29,7 +29,6 @@#define HAVE_WINSOCK2_H 1#define HAVE_WS2TCPIP_H 1#define HAVE_IO_H 1 -#define HAVE_DIRECT_H 1#define HAVE_SYS_TYPES_H 1#define HAVE_SYS_STAT_H 1#define HAVE_LZO_LZO1X_H 1
configure.ac +1 -1
@@ -407,7 +407,7 @@ AX_TYPE_SOCKLEN_T AC_CHECK_SIZEOF([unsigned int]) AC_CHECK_SIZEOF([unsigned long]) AC_CHECK_HEADERS([ \ - fcntl.h io.h direct.h \ + fcntl.h io.h \ sys/types.h sys/socket.h \ unistd.h dlfcn.h \ netinet/in.h netinet/in_systm.h \
src/openvpn/platform.c +4 -0
@@ -39,6 +39,10 @@#include "platform.h" +#if _WIN32 +#include <direct.h> +#endif +/* Redefine the top level directory of the filesystem * to restrict access to files for security */ void
src/openvpn/syshead.h +0 -4
@@ -100,10 +100,6 @@#include <fcntl.h> #endif -#ifdef HAVE_DIRECT_H -#include <direct.h> -#endif -#ifdef HAVE_IO_H #include <io.h> #endif
Signature · 1 line
2.31.1
[Openvpn-devel] [PATCH applied] Re: Move direct.h header where it is used
I seemed to remember having used <direct.h> before on "something not WIN32" - and yeah, this was part of the DOS compat layer on SCO Unix :-) .. which we certainly do not use. So, makes sense.
Your patch has been applied to the master branch.
commit 8c18d7c9323084d1b346ea303cf8cfd60d280e56
Author: Arne Schwabe Date: Thu Apr 22 17:29:36 2021 +0200
Move direct.h header where it is used
Signed-off-by: Arne Schwabe <[email protected]...>
Acked-by: Gert Doering <[email protected]...>
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg22202.html
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering
PATCH v2 4/6 Remove support for blocking connect()
In reply to Arne SchwabeIt is hard to imagine that we still have any supported OS that does not support non-blocking connect while still supporting non-blocking sockets in general.
Patch V2: remove epoll.h removal that should have been in other patch.
--- src/openvpn/socket.c | 8 -------- src/openvpn/syshead.h | 7 ------- 2 files changed, 15 deletions(-)
src/openvpn/socket.c +0 -8
@@ -1459,7 +1459,6 @@ openvpn_connect(socket_descriptor_t sd,protect_fd_nonlocal (sd, remote);#endif -#ifdef CONNECT_NONBLOCK set_nonblock (sd); status =connect (sd, remote,af_addr_size (remote->sa_family));if (status)
@@ -1540,13 +1539,6 @@ openvpn_connect(socket_descriptor_t sd, } } } -#else /* ifdef CONNECT_NONBLOCK */ - status =connect (sd, remote,af_addr_size (remote->sa_family)); -if (status) - { - status =openvpn_errno (); - } -#endif /* ifdef CONNECT_NONBLOCK */ return status; }
src/openvpn/syshead.h +0 -7
@@ -545,13 +545,6 @@ socket_defined(const socket_descriptor_t sd)#define EPOLL 0#endif -/* -* Is non-blocking connect() supported? -*/ -#if defined(SOL_SOCKET ) && defined(SO_ERROR ) && defined(EINPROGRESS ) && defined(ETIMEDOUT ) -#define CONNECT_NONBLOCK -#endif -/* * Compression support */
Signature · 1 line
2.31.1
Re: [Openvpn-devel] [PATCH v2 4/6] Remove support for blocking connect()
Hi,
Quoted 5 lines · Arne Schwabe
It is hard to imagine that we still have any supported OS that does not support non-blocking connect while still supporting non-blocking sockets in general.
Patch V2: remove
epoll.hremoval that should have been in other patch.
Feature-ACK, but you missed one
socket.c:
socket_connect(socket_descriptor_t *sd,
...
#ifdef CONNECT_NONBLOCK
msg(M_INFO, "Attempting to establish TCP connection with %s [nonblock]",
print_sockaddr(dest, &gc));
v3, please :-)
gert
Signature · 6 lines
"If was one thing all people took for granted, was conviction that if you
feed honest figures into a computer, honest figures come out. Never doubted
it myself till I met a computer with a sense of humor."
Robert A. Heinlein, The Moon is a Harsh Mistress
Gert Doering - Munich, Germany [email protected]...PATCH v3 1/1 Remove support for blocking connect()
It is hard to imagine that we still have any supported OS that does not support non-blocking connect while still supporting non-blocking sockets in general.
Patch V2: remove epoll.h removal that should have been in other patch. Patch V3: remove another instance in socket.c that I misseds in v1
--- src/openvpn/socket.c | 13 ------------- src/openvpn/syshead.h | 7 ------- 2 files changed, 20 deletions(-)
src/openvpn/socket.c +0 -13
@@ -1451,7 +1451,6 @@ openvpn_connect(socket_descriptor_t sd,protect_fd_nonlocal (sd, remote);#endif -#ifdef CONNECT_NONBLOCK set_nonblock (sd); status =connect (sd, remote,af_addr_size (remote->sa_family));if (status)
@@ -1532,13 +1531,6 @@ openvpn_connect(socket_descriptor_t sd, } } } -#else /* ifdef CONNECT_NONBLOCK */ - status =connect (sd, remote,af_addr_size (remote->sa_family)); -if (status) - { - status =openvpn_errno (); - } -#endif /* ifdef CONNECT_NONBLOCK */ return status; }
@@ -1575,13 +1567,8 @@ socket_connect(socket_descriptor_t *sd,struct gc_arena gc =gc_new ();int status; -#ifdef CONNECT_NONBLOCK -msg (M_INFO ,"Attempting to establish TCP connection with %s [nonblock]" , -print_sockaddr (dest, &gc)); -#else msg (M_INFO ,"Attempting to establish TCP connection with %s" ,print_sockaddr (dest, &gc)); -#endif #ifdef ENABLE_MANAGEMENT if (management)
src/openvpn/syshead.h +0 -7
@@ -535,13 +535,6 @@ socket_defined(const socket_descriptor_t sd)#define EPOLL 0#endif -/* -* Is non-blocking connect() supported? -*/ -#if defined(SOL_SOCKET ) && defined(SO_ERROR ) && defined(EINPROGRESS ) && defined(ETIMEDOUT ) -#define CONNECT_NONBLOCK -#endif -/* * Compression support */
Signature · 1 line
2.31.1
[Openvpn-devel] [PATCH applied] Re: Remove support for blocking connect()
Looks good, and buildbots are happy.
Your patch has been applied to the master branch.
commit 2ec5e1cae681a83992b09b4c6e690b014d4cc340
Author: Arne Schwabe Date: Mon May 3 12:58:50 2021 +0200
Remove support for blocking connect()
Signed-off-by: Arne Schwabe <[email protected]...>
Acked-by: Gert Doering <[email protected]...>
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg22291.html
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering
PATCH v2 5/6 Replace OS_SPECIFIC_DIRSEP with PATH_SEPARATOR
In reply to Arne SchwabeWe have two define that do exactly the same. Also move the check from configure.ac to syshead.h since it is really only checking for Windows.
Patch V2: Also remove from config-msvc.h
--- config-msvc.h | 3 --- configure.ac | 8 -------- src/openvpn/platform.c | 2 +- src/openvpn/ssl_verify.c | 2 +- src/openvpn/syshead.h | 6 ++++-- 5 files changed, 6 insertions(+), 15 deletions(-)
config-msvc.h +0 -3
@@ -80,9 +80,6 @@#define HAVE_EVP_CIPHER_CTX_RESET 1#define HAVE_DIINSTALLDEVICE 1 -#define PATH_SEPARATOR '\\' -#define PATH_SEPARATOR_STR "\\" -#ifndef __cplusplus#define inline __inline#endif
configure.ac +0 -8
@@ -1133,14 +1133,6 @@ if test -n "${GIT}" -a -d "${srcdir}/.git"; then fi AC_MSG_RESULT([${GIT_CHECKOUT}]) -if test -n "${SP_PLATFORM_WINDOWS}"; then - AC_DEFINE_UNQUOTED([PATH_SEPARATOR], ['\\\\'], [Path separator]) #" - AC_DEFINE_UNQUOTED([PATH_SEPARATOR_STR], ["\\\\"], [Path separator]) #" -else - AC_DEFINE_UNQUOTED([PATH_SEPARATOR], ['/'], [Path separator]) - AC_DEFINE_UNQUOTED([PATH_SEPARATOR_STR], ["/"], [Path separator]) -fi - dnl enable --x509-username-field feature if requested if test "${enable_x509_alt_username}" = "yes"; then if test "${with_crypto_library}" = "mbedtls" ; then
src/openvpn/platform.c +1 -1
@@ -486,7 +486,7 @@ platform_gen_path(const char *directory, const char *filename,struct buffer out =alloc_buf_gc (outsize, gc);char dirsep[2 ]; - dirsep[0 ] =OS_SPECIFIC_DIRSEP ; + dirsep[0 ] =PATH_SEPARATOR ; dirsep[1 ] ='\0' ;if (directory)
src/openvpn/ssl_verify.c +1 -1
@@ -616,7 +616,7 @@ verify_check_crl_dir(const char *crl_dir, openvpn_x509_cert_t *cert, goto cleanup; } -if (!openvpn_snprintf (fn,sizeof (fn),"%s%c%s" , crl_dir,OS_SPECIFIC_DIRSEP , serial)) +if (!openvpn_snprintf (fn,sizeof (fn),"%s%c%s" , crl_dir,PATH_SEPARATOR , serial)) {msg (D_HANDSHAKE ,"VERIFY CRL: filename overflow" ); goto cleanup;
src/openvpn/syshead.h +4 -2
@@ -436,9 +436,11 @@ typedef unsigned short sa_family_t;* Directory separation char */ #ifdef _WIN32 -#define OS_SPECIFIC_DIRSEP '\\' +#define PATH_SEPARATOR '\\' +#define PATH_SEPARATOR_STR "\\"#else -#define OS_SPECIFIC_DIRSEP '/' +#define PATH_SEPARATOR '/' +#define PATH_SEPARATOR_STR "/"#endif /*
Signature · 1 line
2.31.1
[Openvpn-devel] [PATCH applied] Re: Replace OS_SPECIFIC_DIRSEP with PATH_SEPARATOR
I have not actually tested it (only test compiled on the unix zoo and MinGW), but it looks very reasonable.
Your patch has been applied to the master branch.
commit d4c1a453c2084fa09baeee58cda0a9823e0b5038
Author: Arne Schwabe Date: Thu Apr 22 17:29:38 2021 +0200
Replace OS_SPECIFIC_DIRSEP with PATH_SEPARATOR
Signed-off-by: Arne Schwabe <[email protected]...>
Acked-by: Gert Doering <[email protected]...>
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg22203.html
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering
PATCH v2 6/6 Remove a number of platform specific checks in configure.ac
In reply to Arne Schwabe- Remove windows XP/old mingw compat code in socket.c
- Use _WIN32 instead checking for existence of windows.h, winsock2.h and ws2tcpip.h in autconf
- Remove check for unlink. The last remaining use is a check inside a Unix socket.
- Even Windows has umask, so remove the check for it
- Move epoll.h inclusion to event.c
Patch V2: Add epoll.h syshead.h that accidently was put into another
patch
--- configure.ac | 11 +++++------ src/compat/compat.h | 5 +---- src/openvpn/event.c | 4 ++++ src/openvpn/socket.c | 16 ---------------- src/openvpn/syshead.h | 16 ++-------------- 5 files changed, 12 insertions(+), 40 deletions(-)
configure.ac +5 -6
@@ -412,7 +412,6 @@ AC_CHECK_HEADERS([ \ unistd.h dlfcn.h \ netinet/in.h netinet/in_systm.h \ netinet/tcp.h arpa/inet.h netdb.h \ - windows.h winsock2.h ws2tcpip.h \ versionhelpers.h \ ]) AC_CHECK_HEADERS([ \
@@ -438,13 +437,13 @@ SOCKET_INCLUDES=" #ifdef HAVE_NETINET_IN_H #include <netinet/in.h> #endif -#ifdef HAVE_WINDOWS_H +#ifdef _WIN32 #include <windows.h> #endif -#ifdef HAVE_WINSOCK2_H +#ifdef _WIN32 #include <winsock2.h> #endif -#ifdef HAVE_WS2TCPIP_H +#ifdef _WIN32 #include <ws2tcpip.h> #endif #ifdef HAVE_NETINET_IN_SYSTM_H
@@ -623,8 +622,8 @@ AC_CHECK_FUNCS([ \ daemon chroot getpwnam setuid nice system getpid dup dup2 \ syslog openlog mlockall getrlimit getgrnam setgid \ setgroups flock readv writev time gettimeofday \ - setsid chdir getpeername unlink \ - chsize ftruncate execve getpeereid umask basename dirname access \ + setsid chdir getpeername \ + chsize ftruncate execve getpeereid basename dirname access \ epoll_create strsep \ ])
src/compat/compat.h +1 -4
@@ -24,11 +24,8 @@#ifndef COMPAT_H #define COMPAT_H -#ifdef HAVE_WINSOCK2_H +#ifdef _WIN32#include <winsock2.h> -#endif - -#ifdef HAVE_WS2TCPIP_H #include <ws2tcpip.h> #endif
src/openvpn/event.c +4 -0
@@ -35,6 +35,10 @@#include "event.h" #include "fdmisc.h" +#if EPOLL +#include <sys/epoll.h> +#endif +#include "memdbg.h" /*
src/openvpn/socket.c +0 -16
@@ -1385,14 +1385,6 @@ socket_listen_accept(socket_descriptor_t sd,return new_sd; } -/* older mingw versions and WinXP do not have this define, -* but Vista and up support the functionality - just define it here -*/ -#ifdef _WIN32 -#ifndef IPV6_V6ONLY -#define IPV6_V6ONLY 27 -#endif -#endif void socket_bind(socket_descriptor_t sd, struct addrinfo *local,
@@ -3905,10 +3897,7 @@ socket_bind_unix(socket_descriptor_t sd, const char *prefix) {struct gc_arena gc =gc_new (); - -#ifdef HAVE_UMASK const mode_t orig_umask =umask (0 ); -#endif if (bind (sd, (struct sockaddr *) local,sizeof (struct sockaddr_un ))) {
@@ -3919,10 +3908,7 @@ socket_bind_unix(socket_descriptor_t sd, sockaddr_unix_name(local, "NULL")); } -#ifdef HAVE_UMASK umask (orig_umask); -#endif -gc_free (&gc); }
@@ -3967,12 +3953,10 @@ void socket_delete_unix(const struct sockaddr_un *local) {const char *name =sockaddr_unix_name (local,NULL ); -#ifdef HAVE_UNLINK if (name &&strlen (name)) {unlink (name); } -#endif }bool
src/openvpn/syshead.h +2 -14
@@ -100,10 +100,6 @@#include <fcntl.h> #endif -#ifdef HAVE_IO_H -#include <io.h> -#endif -#ifdef HAVE_SYS_FILE_H #include <sys/file.h> #endif
@@ -155,10 +151,6 @@#include <poll.h> #endif -#ifdef HAVE_SYS_EPOLL_H -#include <sys/epoll.h> -#endif -#ifdef ENABLE_SELINUX #include <selinux/selinux.h> #endif
@@ -342,6 +334,8 @@ typedef int MIB_TCP_STATE;#include <iphlpapi.h> #include <wininet.h> #include <shellapi.h> +#include <io.h> +/* The following two headers are needed of PF_INET6 */ #include <winsock2.h> #include <ws2tcpip.h>
@@ -541,12 +535,6 @@ socket_defined(const socket_descriptor_t sd)#define EPOLL 0#endif -/* Disable EPOLL */ -#if 0 -#undef EPOLL -#define EPOLL 0 -#endif -/* * Compression support */
Signature · 1 line
2.31.1
[Openvpn-devel] [PATCH applied] Re: Remove a number of platform specific checks in configure.ac
Changes look good and have been tested on the Unix zoo and MinGW/Ubuntu 18.
Your patch has been applied to the master branch.
commit ba49c9a7bf7dfeea181b5f18a921a5d29c9b10b3
Author: Arne Schwabe Date: Thu Apr 22 17:29:39 2021 +0200
Remove a number of platform specific checks in configure.ac
Signed-off-by: Arne Schwabe <[email protected]...>
Acked-by: Gert Doering <[email protected]...>
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg22201.html
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering
This might break compilation of the example test on non-gcc/clang platforms.
I do not have one at hand, though - my OpenSolaris box has no Sun CC, so is using gcc... and on AIX, I do not compile the test suite anyway (no cmocka). So this might come back one day as a patch with #ifdef GCC around the __attribute__
Your patch has been applied to the master branch.
commit 7f600bd39d6e2b034e5a16f65bc639623ff96ae0
Author: Arne Schwabe Date: Thu Apr 22 17:29:34 2021 +0200
Avoid failing_test unused warning in example_test
Signed-off-by: Arne Schwabe <[email protected]...>
Acked-by: Gert Doering <[email protected]...>
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg22205.html
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering