[PATCH] Add missing pthread_condattr_{init,destroy} stubs to libc

Joe Marcus Clarke marcus at FreeBSD.org
Fri Nov 27 05:15:07 UTC 2009


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 at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-threads/attachments/20091127/3a00d295/attachment.pgp


More information about the freebsd-threads mailing list