On Sat, Apr 03, 2021 at 07:24:42PM +0200, Mark Wielaard wrote:
> newfd is normally created by mkstemp given the original fd exists.
> Otherwise it will created by open from arfname. In the second case
> newfd might not get closed. Preventd this by always trying to close
> it after errout.
Pushed.
newfd is normally created by mkstemp given the original fd exists.
Otherwise it will created by open from arfname. In the second case
newfd might not get closed. Preventd this by always trying to close
it after errout.
Signed-off-by: Mark Wielaard
---
src/ChangeLog | 4
src/ar.c | 3 ++