Re: [PATCH] libdwelf: New function dwelf_elf_begin.

2018-11-09 Thread Mark Wielaard
On Sun, Nov 04, 2018 at 05:37:42PM +0100, Mark Wielaard wrote: > On Mon, 2018-10-22 at 01:47 +0200, Mark Wielaard wrote: > > It currently wraps __libdw_open_file which makes error handling > > slight tricky and needs duplicating the file handle. > > Which introduced some confusion that could cause

Re: [PATCH] libdwelf: New function dwelf_elf_begin.

2018-11-04 Thread Mark Wielaard
On Mon, 2018-10-22 at 01:47 +0200, Mark Wielaard wrote: > It currently wraps __libdw_open_file which makes error handling > slight tricky and needs duplicating the file handle. Which introduced some confusion that could cause the file descriptor to leak. The attached updated patch adds a variant t