gnutls-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU gnutls branch, master, updated. gnutls_2_9_9-206-gd153ee5


From: Simon Josefsson
Subject: [SCM] GNU gnutls branch, master, updated. gnutls_2_9_9-206-gd153ee5
Date: Wed, 21 Apr 2010 21:16:20 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU gnutls".

http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=d153ee5f4519f27e32c8ef637a1f67539ede4af2

The branch, master has been updated
       via  d153ee5f4519f27e32c8ef637a1f67539ede4af2 (commit)
       via  f01c8a80bcc16737686e9c4ea8c5af51fecc845a (commit)
      from  51cbcfd76b83ed429aaa4bfa9ab8a998628f1293 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d153ee5f4519f27e32c8ef637a1f67539ede4af2
Author: Simon Josefsson <address@hidden>
Date:   Wed Apr 21 23:16:14 2010 +0200

    Structure fork check together.

commit f01c8a80bcc16737686e9c4ea8c5af51fecc845a
Author: Simon Josefsson <address@hidden>
Date:   Thu Apr 15 11:10:33 2010 +0200

    Fix compiler warning.

-----------------------------------------------------------------------

Summary of changes:
 configure.ac          |    2 +-
 lib/gnutls_priority.c |    3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index c2da2bb..51ba3af 100644
--- a/configure.ac
+++ b/configure.ac
@@ -66,7 +66,6 @@ LIBGNUTLS_HOOKS
 LIBGNUTLS_EXTRA_HOOKS
 
 AC_HEADER_STDC
-AC_CHECK_FUNCS(fork,,)
 AC_DEFINE([HAVE_STRINGS_H], 1, [Hard-code for src/cfg/.])
 AC_DEFINE([HAVE_FLOAT_H], 1, [Hard-code for src/cfg/.])
 AC_DEFINE([HAVE_LIMITS_H], 1, [Hard-code for src/cfg/.])
@@ -75,6 +74,7 @@ AC_DEFINE([HAVE_CTYPE_H], 1, [Hard-code for src/cfg/.])
 AC_DEFINE([HAVE_ERRNO_H], 1, [Hard-code for src/cfg/.])
 
 # No fork on MinGW, disable some self-tests until we fix them.
+AC_CHECK_FUNCS(fork,,)
 AM_CONDITIONAL(HAVE_FORK, test "$ac_cv_func_fork" != "no")
 
 sj_VALGRIND
diff --git a/lib/gnutls_priority.c b/lib/gnutls_priority.c
index 7af3e4d..4b1607d 100644
--- a/lib/gnutls_priority.c
+++ b/lib/gnutls_priority.c
@@ -565,7 +565,7 @@ gnutls_priority_init (gnutls_priority_t * priority_cache,
                      const char *priorities, const char **err_pos)
 {
   char *broken_list[MAX_ELEMENTS];
-  int broken_list_size, i, j;
+  int broken_list_size = 0, i = 0, j;
   char *darg = NULL;
   int algo;
   rmadd_func *fn;
@@ -588,7 +588,6 @@ gnutls_priority_init (gnutls_priority_t * priority_cache,
       goto error;
     }
 
-
   break_comma_list (darg, broken_list, &broken_list_size, MAX_ELEMENTS, ':');
   /* This is our default set of protocol version, certificate types and
    * compression methods.


hooks/post-receive
-- 
GNU gnutls




reply via email to

[Prev in Thread] Current Thread [Next in Thread]