freebsd-dev/lib
Andriy Gapon 298580cb35 6447 handful of nvpair cleanups
illumos/illumos-gate@759e89be35
759e89be35

https://www.illumos.org/issues/6447
  I got a patch from someone who uses nvpair code outside of illumos. It fixes a
  couple of gcc warnings/bugs for him.
     1. silence uninitialized use warnings
     2. add parentheses around assignment used as truth value
     3. fix printf format specifier (ll is for integers only)
     4. strstr, strspn, strcspn, and strcmp are declared in string.h, not
        strings.h.
     5. avoid scanning integer into boolean variable

Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Steve Dougherty <sdougherty@barracuda.com>
2016-07-12 12:05:58 +00:00
..
libctf/common Update vendor/illumos/dist to 14148:fe28bd725808: 2013-08-23 23:34:54 +00:00
libdtrace 4470 overly aggressive D integer narrowing breaks 32-bit ustack helpers 2014-06-03 01:55:27 +00:00
libgen/common Update DTrace userland code to the latest available. 2010-08-02 12:13:33 +00:00
libnvpair 6447 handful of nvpair cleanups 2016-07-12 12:05:58 +00:00
libuutil/common Update vendor/illumos/dist to pre libzfs_core state (zfs part) 2012-07-18 10:19:51 +00:00
libzfs/common 6314 buffer overflow in dsl_dataset_name 2016-07-12 12:01:54 +00:00
libzfs_core/common 6314 buffer overflow in dsl_dataset_name 2016-07-12 12:01:54 +00:00
libzpool/common 6739 userland version of cv_timedwait_hires() always assumes absolute time 2016-04-02 08:24:23 +00:00
pyzfs/common 4369 implement zfs bookmarks 2014-01-01 01:15:53 +00:00