Re: [PATCHv2 3/4] Change virDirCreate to return -errno on failure.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 On 07/21/2010 11:17 AM, Daniel Veillard wrote:
On Mon, Jul 19, 2010 at 09:21:54PM -0400, Laine Stump wrote:
virDirCreate also previously returned 0 on success and errno on
failure. This makes it fit the recommended convention of returning 0
on success, -errno (ie a negative number) on failure.
---
  src/storage/storage_backend_fs.c |    8 ++++----
  src/util/util.c                  |   32 +++++++++++++++++---------------
  2 files changed, 21 insertions(+), 19 deletions(-)

diff --git a/src/storage/storage_backend_fs.c b/src/storage/storage_backend_fs.c
index ffb0071..0761bd8 100644
   ACK,

Pushed. Thanks!

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]