memmem with NUL length "needle" (aka small) strings on FreeBSD/OSX returns
NULL instead of the "haystack" value (aka big)

Submitted by: pho
Sponsored by: EMC / Isilon Storage Division


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273020 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Use 1 as a random seed, as recommended in srandom(3). Adjust the random values
accordingly

Submitted by: pho
Sponsored by: EMC / Isilon Storage Division


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273021 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add #include <stdio.h> to get sys_nerr definition

Sponsored by: EMC / Isilon Storage Division


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273022 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
__isnanl is automatically picked according to data type in <math.h>. There
isn't a need for the explicit __isnanl test

Sponsored by: EMC / Isilon Storage Division


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273023 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f