Project

General

Profile

Actions

Bug #5006

closed

libnvpair JSON cannot print int16 arrays

Added by Joshua M. Clulow about 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
lib - userland libraries
Start date:
2014-07-15
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

While writing the test suite for #5005, it became apparent that in addition to having been broken by lint fixes, the library was never able to correctly print an array created by nvlist_add_int16_array(3NVPAIR). This is because of an incorrect fprintf(3C) format string.

(Originally Joyent-internal bug OS-3204 )

Actions #1

Updated by Electric Monk over 6 years ago

  • Status changed from New to Closed
  • % Done changed from 90 to 100

git commit 37c79205ad46187f54b2edbf6a468160935f14d9

commit  37c79205ad46187f54b2edbf6a468160935f14d9
Author: Joshua M. Clulow <josh@sysmgr.org>
Date:   2014-11-11T05:18:34.000Z

    5005 libnvpair JSON output broken by lint fixes
    5006 libnvpair JSON cannot print int16 arrays
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Approved by: Gordon Ross <gwr@nexenta.com>

Actions

Also available in: Atom PDF