aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/libnv
Commit message (Expand)AuthorAgeFilesLines
* Really fix the style.Li-Wen Hsu2018-06-191-1/+1
* style(9) fix, I was also going to silence gcc.Li-Wen Hsu2018-06-191-0/+1
* Set prev to NULL so its garaunteed to have a value of some kind andSean Bruno2018-06-191-1/+1
* libnv: Add nvlist_append_*_array() family of functions.Mariusz Zaborski2018-06-183-0/+174
* libnv: clean parent in nvlist_array when removing it.Mariusz Zaborski2018-06-181-1/+3
* libnv: Remove nvlist argument from cnvlist_{take,free}_* functions.Mariusz Zaborski2018-06-181-5/+11
* libnv: add const to cookies argumentsMariusz Zaborski2018-06-181-5/+5
* libnv: change name of cookie from cookiep to cookie.Mariusz Zaborski2018-06-181-36/+36
* Add SPDX tags for nv(9).Mariusz Zaborski2018-01-277-0/+14
* libnv: Use mallocarray(9) for the nv_calloc.Pedro F. Giffuni2018-01-191-1/+1
* Introduce cnvlist_name() and cnvlist_type() functions.Mariusz Zaborski2017-10-261-0/+14
* libnv: Fix strict-aliasing violation with cookieJilles Tjoelker2017-10-261-10/+14
* Plug memory leak in case when nvlist allocation succeeds, but nvpairMariusz Zaborski2017-09-211-1/+1
* Simplify the code by _not_ expecting success under 'fail'.Mariusz Zaborski2017-09-211-10/+10
* IMHO it is possible that failure will be treated as success because we don'tMariusz Zaborski2017-09-211-16/+19
* Free 'value' only once we are done freeing all individualMariusz Zaborski2017-09-211-1/+1
* Because nvp wasn't initialized on every loop iteration once we jumpedMariusz Zaborski2017-09-211-16/+22
* Make the code consistent by always using 'fail' label.Mariusz Zaborski2017-09-212-30/+30
* The 'while (array != NULL) { }' suggests scan-build that array may beMariusz Zaborski2017-09-211-2/+3
* Remove redundant initialization. Don't use variable - just return the value.Mariusz Zaborski2017-09-212-10/+5
* Fix style issue in the cnv API.Mariusz Zaborski2016-08-271-34/+38
* Add cnv API.Mariusz Zaborski2016-08-273-1/+195
* Remove usage of _WITH_DPRINTFBaptiste Daroussin2016-07-301-1/+0
* Fix nvlist array memory leak.Mariusz Zaborski2016-07-171-2/+4
* Fix memory leak in the nvlist string array.Mariusz Zaborski2016-07-171-0/+1
* Add support for the arrays in nvlist library.Mariusz Zaborski2015-08-155-83/+1591
* If any function fail (the ptr variable will be equal to NULL), we shouldn'tMariusz Zaborski2015-08-111-10/+9
* The nvlist_move_nvpair() function can fail in two cases, if:Mariusz Zaborski2015-08-112-14/+16
* Don't set parent if the unpack operation fail. In someMariusz Zaborski2015-08-111-0/+2
* Make the nvlist_next(9) function handle NULL pointer variable.Mariusz Zaborski2015-08-111-3/+3
* Move the nvlist source and private includes from sys/kern to seperateMariusz Zaborski2015-07-046-0/+2955