7701 kstat -j does not produce valid JSON
commit774814910cba5b65219849ca27b13b2fbe8127ee
authorBryan Cantrill <bryan@joyent.com>
Tue, 1 Nov 2016 18:16:49 +0000 (1 18:16 +0000)
committerRobert Mustacchi <rm@joyent.com>
Fri, 30 Dec 2016 14:59:04 +0000 (30 06:59 -0800)
tree55239feb343ebdf9698fa258f528688ee0559293
parentfee52838cd1191a3efe83b67de7bccdd401af35e
7701 kstat -j does not produce valid JSON
7702 kstat(1) doesn't deal well with uninitialized named kstats
7703 in some locales, kstat -j produces invalid JSON
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Peter Tribble <peter.tribble@gmail.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
usr/src/cmd/stat/Makefile.stat
usr/src/cmd/stat/kstat/Makefile
usr/src/cmd/stat/kstat/kstat.c
usr/src/cmd/stat/kstat/kstat.h