[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: a test-sigaction failure
From: |
Eric Blake |
Subject: |
Re: a test-sigaction failure |
Date: |
Sun, 28 Sep 2008 07:46:22 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17) Gecko/20080914 Thunderbird/2.0.0.17 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Bruno Haible on 9/27/2008 9:05 PM:
> So, it is the fact of linking with -lpthread which makes the test fail.
>
> The marked sigaction call retrieves a handler that is SIG_DFL. The problem
> is that the linuxthreads implementation of libpthread contains an override
> of sigaction! It is this override which returns a different sa_handler value
> to the program.
Thanks for the analysis, and please apply.
- --
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
iEYEARECAAYFAkjfiq4ACgkQ84KuGfSFAYAjsgCgxxWronzsqhtaZSCCqP1lseDW
KSEAoLttJhSaGH52FsyVPARQ9X1DVUdJ
=8u0G
-----END PGP SIGNATURE-----