Re: [PATCH 3/5] util: Rename virFileMatchesNameSuffix() to virStringMatchesNameSuffix()

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

 



On Wed, Mar 06, 2019 at 17:54:02 +0100, Andrea Bolognani wrote:
> Despite its name, this is really just a general-purpose string
> manipulation function, so it should be moved to the virstring
> module and renamed accordingly.
> 
> Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
> ---
>  src/conf/virsecretobj.c  |  2 +-
>  src/conf/virstorageobj.c |  2 +-
>  src/libvirt_private.syms |  2 +-
>  src/util/virfile.c       | 17 -----------------
>  src/util/virfile.h       |  4 ----
>  src/util/virstring.c     | 17 +++++++++++++++++
>  src/util/virstring.h     |  3 +++
>  7 files changed, 23 insertions(+), 24 deletions(-)

ACK.

Although you could also fix the return value type when at it.

Attachment: signature.asc
Description: PGP signature

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