16 Nov
2009
16 Nov
'09
12:47 p.m.
Hi, Mark Heily schrieb:
Good news: libdispatch now compiles successfully under Linux using libkqueue r96 or higher.
Great. I also like to use libdispatch on linux.
The test programs in the testing/ directory fail to link because arc4random(3) is not available on Linux. I found a compatibility function written for BIND that might work; the URI is:
See below for the actual code. Any objections to adding something like this to libdispatch?
Why does libdispatch has to use arc4random at all? Since, this is not a security-sensitive application but some testing code, why don't we use rand/random, that should be available on all systems? ciao, Mario