summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc/stdlib/t_system.c
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2015-02-27 01:59:29 +0000
committerpfg <pfg@FreeBSD.org>2015-02-27 01:59:29 +0000
commit6f347e9b0e3f0d99b8c16185f1e2ef665ec62931 (patch)
treef42170930eb569a2e4fd6351025fedc915458003 /contrib/netbsd-tests/lib/libc/stdlib/t_system.c
parent6c212ad708bd62ba031604b1f98397ab5464cd29 (diff)
downloadFreeBSD-src-6f347e9b0e3f0d99b8c16185f1e2ef665ec62931.zip
FreeBSD-src-6f347e9b0e3f0d99b8c16185f1e2ef665ec62931.tar.gz
Hint out check for unsigned negative values.
On FreeBSD socklen_t is unsigned so the check negative len in inet6_opt_append() is redundant and likely to be optimized away by the compiler. On other operating systems this is not necessarily so, and in the future we may want to sign it so leave the check in but place it in a secondary position as a subtle indication that the bogus check is intentional. Discussed with: rpaulo CID: 1017783
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/stdlib/t_system.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud