-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 08/12/11 16:24, David Sommerseth wrote: > This kicks out the openvpn_basename() function from misc.[ch] and puts > glibc equivalents into compat.[ch]. This is to provide the same > functionality on platforms not having a native basename() function > available. > > In addition this patch adds dirname() which commit 0f2bc0dd92f43c91e > depends. Without dirname(), openvpn won't build in Visual Studio. > > v2: Move all functions from compat.h to compat.c v3: Use glibc > versions of basename() and dirname() instead > > Signed-off-by: David Sommerseth <dav...@redhat.com> --- Makefile.am > | 1 + compat.c | 129 > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ compat.h | > 42 +++++++++++++++++++ configure.ac | 2 +- init.c | 6 ++- > misc.c | 23 +--------- misc.h | 3 - options.c | 1 > - syshead.h | 2 + 9 files changed, 182 insertions(+), 27 > deletions(-) create mode 100644 compat.c create mode 100644 compat.h
Applied to master branches on -testing and -stable commit ec302f7061b7ab4dd21bdac77dd115e75b50cbc0 Author: David Sommerseth <dav...@redhat.com> List-Post: openvpn-devel@lists.sourceforge.net Date: Thu Dec 8 00:40:45 2011 +0100 Signed-off-by: David Sommerseth <dav...@redhat.com> Acked-by: Alon Bar-Lev <alon.bar...@gmail.com> URL: <http://thread.gmane.org/gmane.network.openvpn.devel/5178/focus=5215> kind regards, David Sommerseth -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8Mh0UACgkQDC186MBRfrpzKACZAbyca0UVkxkdtwBn5OF6bqEx CB4AnA7tpFZsvACpTjHkTYr7HTUCNiGw =qewL -----END PGP SIGNATURE-----