]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
svn merge -r 780:820 $SO/trunk/openvpn .
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>
Mon, 28 Nov 2005 05:50:52 +0000 (05:50 +0000)
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>
Mon, 28 Nov 2005 05:50:52 +0000 (05:50 +0000)
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@828 e7ae566f-a301-0410-adde-c780ea21d3b5

ChangeLog
acinclude.m4
lzo.c
manage.c

index e02b4d619610b60885eb9467167ca555e9d333b1..f12b94505fff37077cc31608d85db465f1316dda 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -11,6 +11,12 @@ $Id$
   on TCP client connection attempts (doesn't work on all
   OSes).  This patch also makes OpenVPN signalable during
   TCP connection attempts.
+* Fixed bug in acinclude.m4 where capability of compiler
+  to handle zero-length arrays in structs is tested
+  (David Stipp).
+* Fixed typo in manage.c where inline function declaration
+  was declared without the "static" keyword (David Stipp).
+
 2005.11.12 -- Version 2.1-beta7
 
 * Allow blank passwords to be passed via the management
@@ -22,6 +28,9 @@ $Id$
   but actually would only accept /29 or less.
 * Extend byte counters to 64 bits (M. van Cuijk).
 * PKCS#11 fixes (Alon Bar-Lev).
+
+2005.11.02 -- Version 2.0.5
+
 * Fixed bug in Linux get_default_gateway function
   introduced in 2.0.4, which would cause redirect-gateway
   on Linux clients to fail.
index 8ff8dad1ff51ab7ddfec6eef0bc20e554ac8b3cd..f164bacb2ffb70a024ea4e94ca296e6f4116f38a 100644 (file)
@@ -19,13 +19,13 @@ AC_DEFUN([AX_EMPTY_ARRAY], [
   AC_MSG_RESULT([checking for C compiler empty array support])
   AC_COMPILE_IFELSE(
     [
-        struct { int foo; int bar[0]; } mystruct;
+        struct { int foo; int bar[[0]]; } mystruct;
     ], [
         AC_DEFINE_UNQUOTED(EMPTY_ARRAY_SIZE, 0, [Dimension to use for empty array declaration])
     ], [
         AC_COMPILE_IFELSE(
            [
-               struct { int foo; int bar[]; } mystruct;
+               struct { int foo; int bar[[]]; } mystruct;
            ], [
                 AC_DEFINE_UNQUOTED(EMPTY_ARRAY_SIZE,, [Dimension to use for empty array declaration])
            ], [
diff --git a/lzo.c b/lzo.c
index 85bfea221fc60bd63efa8cf361864d0aa121d5b7..c16e035cba0261be873ad61234168173f71a9571 100644 (file)
--- a/lzo.c
+++ b/lzo.c
@@ -78,7 +78,7 @@ lzo_adaptive_compress_test (struct lzo_adaptive_compress *ac)
   return !ac->compress_state;
 }
 
-inline static void
+static inline void
 lzo_adaptive_compress_data (struct lzo_adaptive_compress *ac, int n_total, int n_comp)
 {
   ac->n_total += n_total;
index 6937a2c5aaba84b15cdf572babc48e60a03e84c9..dca5500f9637db8b7db465145d234d5eba5d23b3 100644 (file)
--- a/manage.c
+++ b/manage.c
@@ -1601,7 +1601,7 @@ management_io (struct management *man)
 
 #endif
 
-inline bool
+static inline bool
 man_standalone_ok (const struct management *man)
 {
   return !man->settings.management_over_tunnel && man->connection.state != MS_INITIAL;