Commit 1a2d8bd3c2b0f20e69b295c638b0e0c44c216756

Carlos Martín Nieto 2016-03-23T16:51:52

array: fix search for empty arrays When the array is empty `cmp` never gets set by the comparison function. Initialize it so we return ENOTFOUND in those cases.