freebsd-nq/lib/libc
Brooks Davis f189761366 Fix various -Wpointer-compare warnings
This warning (comparing a pointer against a zero character literal
rather than NULL) has existed since GCC 7.1.0, and was recently added to
Clang trunk.

Almost all of these are harmless, except for fwcontrol's str2node, which
needs to both guard against dereferencing a NULL pointer (though in
practice it appears none of the callers will ever pass one in), as well
as ensure it doesn't parse the empty string as node 0 due to strtol's
awkward interface.

Submitted by:	James Clarke <jtrc27@jrtc27.com>
Obtained from:	CheriBSD
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D21914
2019-10-08 21:14:09 +00:00
..
aarch64
amd64
arm
capability
compat-43 Adjust history, info source from v1's manuals 2019-09-04 13:44:46 +00:00
db
gdtoa
gen posix_spawn(3): handle potential signal issues with vfork 2019-09-25 19:22:03 +00:00
gmon
i386 remove obsolete i386 MD memchr implementation 2019-09-25 16:49:22 +00:00
iconv
include Add linux-compatible memfd_create 2019-09-25 18:03:18 +00:00
inet
isc
locale Improve the description of big5(5) 2019-09-14 08:15:16 +00:00
md
mips mips: fix some mcount nits 2019-09-02 01:55:55 +00:00
nameser Bounds check again after advancing cp, otherwise we have a possible 2019-09-05 19:35:30 +00:00
net Increase YPMAXRECORD to 16M to be compatible with Linux. 2019-08-12 20:27:33 +00:00
nls
posix1e
powerpc
powerpc64
powerpcspe
quad Revert r351078, r351085: stand/quad.h eviction 2019-08-15 17:15:32 +00:00
regex lib/libc/regex: fix build with REDEBUG defined 2019-09-24 12:21:01 +00:00
resolv
riscv
rpc Increase YPMAXRECORD to 16M to be compatible with Linux. 2019-08-12 20:27:33 +00:00
secure
softfloat
sparc64
stdio libc: remove gets 2019-09-01 16:12:05 +00:00
stdlib
stdtime
string libc: Use musl's optimized memchr 2019-09-02 13:56:44 +00:00
sys memfd_create(3): Don't actually force hugetlb size with MFD_HUGETLB 2019-09-29 17:30:10 +00:00
tests Fix various -Wpointer-compare warnings 2019-10-08 21:14:09 +00:00
uuid
x86
xdr
yp Increase the size of the send and receive buffers for YP client rpc 2019-09-16 06:42:01 +00:00
libc_nossp.ldscript
libc.ldscript
Makefile
Makefile.depend
Versions.def