On 26/10/2017 12:05 PM, Thiago Macieira wrote:
On Wednesday, 25 October 2017 15:41:48 PDT Christian Gagneraud wrote:
Interesting "read_random site:github.com/apple/darwin-xnu" returns 6
results. One of them points to bsd/sys/random.h, is this your missing
include? ;P

Yes, <sys/random.h> is what we are missing. The Linux and OpenBSD getentropy()
functions are documented to be declared in <unistd.h>, but the macOS and
Solaris ones are in <sys/random.h>. I'm tempted to not fix this and blame Apple
and Oracle developers for not following 3 years of precedence from OpenBSD.

Maybe the forked repo is too new (created on the 1st of october), or
maybe google indexes only "big orgs".

"opensource-apple" sounds official to me. It's what Google brought me to when I
searched for the xnu source code, after opensource.apple.com of course.

Even "read_random xnu site:github.com" returns the result that point to bsd/sys/random.h in the apple/darwin-xnu repo (ranked 4 for me)

Anyway, my point was that it would be really nice if more Qt repos would be searchable from google or github.

Chris


_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to