[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNUTLS 2.8.5: Assertion failed on Solaris 8 Sparc
From: |
Eric Blake |
Subject: |
Re: GNUTLS 2.8.5: Assertion failed on Solaris 8 Sparc |
Date: |
Thu, 05 Nov 2009 06:27:46 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Simon Josefsson on 11/5/2009 6:23 AM:
> Ah, thanks. But does __func__ work on Solaris? Would it make sense to
> improve the self-test like this?
>
>
> + assert (strcmp (__func__, "main") == 0
> + || strcmp (__func__, "<unknown function>") == 0);
Will that still be right if test-func.c is compiled with a C++ compiler,
or would name mangling interfere? It certainly can't hurt to get more
coverage of what we think the output may be, but it may take an iteration
or two before it passes on all compilers. At any rate, I'm in favor of
such a patch.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkry0tIACgkQ84KuGfSFAYCSyACgo0yvVj2h75ruCcDmBLp3VdJ5
magAoIQJv959F+0DExjBtIZzB6Ybij5/
=d3qr
-----END PGP SIGNATURE-----