[libdispatch-dev] Lion libdispatch sources posted & next steps for macosforge repo
Daniel A. Steffen
dsteffen at apple.com
Mon Aug 22 18:54:48 PDT 2011
On Aug 22, 2011, at 6:51 PM, Mark Heily wrote:
> Filed bug #10004102.
> Rather than maintain our own custom portability shims, I'd like to suggest that we import a private copy of libbsd:
> It provides things like strlcpy(), fgetln() and arc4random() that are BSD in origin. I've used this library successfully in the Linux port of libdispatch.
sounds good, maybe we should resurrect the toplevel compat directory for this purpose ? shims as used currently (outside of the testsuite) are more of a lightweight wrapper around differing underlying primitives...
>> Ideally I'd also like to know what fixes we need to build on FreeBSD
>> before replacing trunk with the Lion branch.
> I've tested my patchset on FreeBSD, and as of r12 the patched version of libdispatch 187.5 compiles cleanly on both Linux and FreeBSD.
More information about the libdispatch-dev