[libvirt] [PATCH v3 5/6] virFileInData: preserve errno in cleanup path

2017-06-06 Thread Michal Privoznik
Callers might be interested in the original value of errno. Let's not overwrite it with lseek() done in cleanup path. Signed-off-by: Michal Privoznik --- src/util/virfile.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/util/virfile.c b/src/util/virfile.c index d444b

Re: [libvirt] [PATCH v3 5/6] virFileInData: preserve errno in cleanup path

2017-06-12 Thread John Ferlan
On 06/05/2017 04:23 AM, Michal Privoznik wrote: > Callers might be interested in the original value of errno. Let's > not overwrite it with lseek() done in cleanup path. > > Signed-off-by: Michal Privoznik > --- > src/util/virfile.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) >