]> git.ipfire.org Git - thirdparty/libvirt.git/commit
file: Log closing filedescriptors
authorJiri Denemark <jdenemar@redhat.com>
Wed, 30 May 2012 13:54:18 +0000 (15:54 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 4 Jun 2012 14:28:15 +0000 (16:28 +0200)
commitdfd45843171c376b3acac6ab7d8ede477238298b
tree0fa0ff21c4fb3137b6353c901e4991c325833c8b
parent461ed4210fc44ff81b8d5da1b83ead1791456028
file: Log closing filedescriptors

EBADF errors are logged as warnings as they normally indicate a double
close bug. This patch also provides VIR_MASS_CLOSE helper to be user in
the only case of mass close after fork when EBADF should rather be
ignored.
src/util/command.c
src/util/virfile.c
src/util/virfile.h