Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Nov 2009 00:15:18 -0500
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        threads@FreeBSD.org
Cc:        kib <kib@FreeBSD.org>
Subject:   [PATCH] Add missing pthread_condattr_{init,destroy} stubs to libc
Message-ID:  <1259298918.1608.19.camel@shumai.marcuscom.com>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
I would like permission to commit this patch which adds missing
pthread_condattr_{init,destroy} symbols to libc.  I think I did the
symbol addition correctly (and it seems to work).  Without this, the
weak symbols added in the libpthread-stubs port conflict with those in
libthr, and applications with use these symbols can crash.

I have temporarily hacked libpthread-stubs to fix this, but I really
feel these stubs should be added to libc.  I've also copied kib as he
has been kind enough to review my work in the past.  Thanks.

http://www.marcuscom.com/downloads/stubs.diff

Joe
-- 
Joe Marcus Clarke
FreeBSD GNOME Team      ::      gnome@FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iEYEABECAAYFAksPYGQACgkQb2iPiv4Uz4cFIQCgk/wyBJjwg0i4wYSRjXzQz+kc
9lUAnj/NOMb5yzRlaYqG2FTilaKMjInw
=EQpO
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1259298918.1608.19.camel>