Re: [PATCH] util: string: Introduce virStringHasChars

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

 



On Fri, Aug 18, 2017 at 02:09:57PM +0200, Peter Krempa wrote:
> The helper returns true if a string contains any of the given chars.
> virStringHasControlChars can be reimplemented using that helper.
> ---
> 
> Pavel was loudly thinking about such function. It turns out that I have
> it ready on one of my branches.
> 
>  src/util/virstring.c | 23 +++++++++++++++++++----
>  src/util/virstring.h |  2 ++
>  2 files changed, 21 insertions(+), 4 deletions(-)

Please add an entry to src/libvirt_private.sym, this helper can be used
to replace all occurrences of strspn() and strcspn().

Reviewed-by: Pavel Hrdina <phrdina@xxxxxxxxxx>

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