On 05/24/2011 05:49 AM, Jim Meyering wrote:
> Hi Eric,
>
> coverity reported on the potential for closing a negative file descriptor.
> Fixing it, I saw/fixed the errno-clobbering problem.
>
> Any objection?
Looks good; please apply.
--
Eric Blake ebl...@redhat.com+1-801-349-2682
Libvirt
>From d94bbd1eb1fc483d72397ec5dd94f7e885e12440 Mon Sep 17 00:00:00 2001
From: Jim Meyering
Date: Tue, 24 May 2011 13:44:41 +0200
Subject: [PATCH] opendir-safer.c: don't clobber errno; don't close negative
FD
* lib/opendir-safer.c (opendir_safer):
[HAVE_FDOPENDIR || GNULIB_FDOPENDIR]: Don't close