gnutls-commit
[Top][All Lists]
Advanced

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

[SCM] GNU gnutls branch, gnutls_2_8_x, updated. gnutls_2_8_5-2-gfdaaded


From: Simon Josefsson
Subject: [SCM] GNU gnutls branch, gnutls_2_8_x, updated. gnutls_2_8_5-2-gfdaaded
Date: Thu, 05 Nov 2009 13:26:24 +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=fdaadedde4886625c05cb8da364dc402a3614319

The branch, gnutls_2_8_x has been updated
       via  fdaadedde4886625c05cb8da364dc402a3614319 (commit)
      from  f1194042a54467693e29af4f8f078718aa89d3a6 (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 fdaadedde4886625c05cb8da364dc402a3614319
Author: Simon Josefsson <address@hidden>
Date:   Thu Nov 5 14:25:40 2009 +0100

    Back port Solaris work around for __func__ bug.
    
    Reported by Dagobert Michelsen <address@hidden>
    in <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3947>.

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

Summary of changes:
 lib/gl/tests/test-func.c |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/lib/gl/tests/test-func.c b/lib/gl/tests/test-func.c
index e55fcd5..8a3c465 100644
--- a/lib/gl/tests/test-func.c
+++ b/lib/gl/tests/test-func.c
@@ -1,5 +1,5 @@
 /* Test whether __func__ is available
-   Copyright (C) 2008 Free Software Foundation, Inc.
+   Copyright (C) 2008-2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -37,6 +37,13 @@
 int
 main ()
 {
+  ASSERT (strlen (__func__) > 0);
+
+  /* On SunPRO C 5.9, sizeof __func__ evaluates to 0.  The compiler warns:
+     "warning: null dimension: sizeof()".  */
+#if !defined __SUNPRO_C
   ASSERT (strlen (__func__) + 1 == sizeof __func__);
+#endif
+
   return 0;
 }


hooks/post-receive
-- 
GNU gnutls




reply via email to

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