[libvirt] [PATCH] Add helpers for dealing with system errors

2013-07-19 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com Add virErrorSetErrnoFromLastError and virLastErrorIsSystemErrno to simplify code which wants to handle system errors in a more graceful fashion. Signed-off-by: Daniel P. Berrange berra...@redhat.com --- src/libvirt_private.syms | 1 +

Re: [libvirt] [PATCH] Add helpers for dealing with system errors

2013-07-19 Thread Eric Blake
On 07/19/2013 08:14 AM, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com Add virErrorSetErrnoFromLastError and virLastErrorIsSystemErrno to simplify code which wants to handle system errors in a more graceful fashion. Signed-off-by: Daniel P. Berrange