On Mon, Oct 20, 2014 at 03:25:52PM +0200, Jakub Hrozek wrote:
> I think it would be nicer to use local varibale fd in this
function and
> return its vales using output parameter _fd. Do you agree?
Yes, in a future commit, though. Please file one single ticket with
improvements for this function. In the attached patchset, I fixed the
small, low-risk changes, but the other changes should be done separately
(even though they are good ideas and we have a unit test..)
Attached are patches rebased on the current master, especially unit
tests didn't build after merging the views work.