Re: [PATCH] util, qemu: Fix virDoes*Exist usage

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

 



On Monday, 19 November 2018 14:15:54 CET Martin Kletzander wrote:
> -int
> +bool
>  virDoesUserExist(const char *name ATTRIBUTE_UNUSED)
>  {
>      return 0;
>  }
>  
> -int
> +bool
>  virDoesGroupExist(const char *name ATTRIBUTE_UNUSED)
>  {
>      return 0;

These !HAVE_GETPWUID_R fallbacks should return false then, instead of
0.

-- 
Pino Toscano

Attachment: signature.asc
Description: This is a digitally signed message part.

--
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]

  Powered by Linux