freebsd-dev/sys/cddl/contrib/opensolaris/common
Alexander Motin 3d1e0e0830 MFV r302662: 6447 handful of nvpair cleanups
illumos/illumos-gate@759e89be35
https://github.com/illumos/illumos-gate/commit/759e89be359f2af635e4122d147df56bc
e948773

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-09-01 15:17:39 +00:00
..
acl Revert r299454 and r299448. 2016-06-30 14:55:49 +00:00
atomic Fix the open solaris atomic functions on arm64. Without this we may use the 2015-11-05 16:55:27 +00:00
avl MFV r287684: 6091 avl_add doesn't assert on non-debug builds 2015-09-12 08:50:43 +00:00
nvpair MFV r302662: 6447 handful of nvpair cleanups 2016-09-01 15:17:39 +00:00
unicode Reduce some warnings in the Solaris unicode support. 2014-06-29 02:28:05 +00:00
util Mechanically convert cddl sun #ifdef's to illumos 2015-01-17 14:44:59 +00:00
zfs MFV r302660: 6314 buffer overflow in dsl_dataset_name 2016-09-01 15:08:27 +00:00