[libvirt PATCH 07/32] tools: replace wcwidth() with g_unichar_* APIs

Pavel Hrdina phrdina at redhat.com
Mon Jan 27 12:08:55 UTC 2020


On Thu, Jan 23, 2020 at 11:43:00AM +0000, Daniel P. Berrangé wrote:
> The combination of g_unichar_iszerowidth and
> g_unichar_iswide is sufficient to replicate the logic
> of wcwidth() for libvirt.
> 
> Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
> ---
>  tests/vshtabletest.c | 8 ++------
>  tools/vsh-table.c    | 2 +-
>  2 files changed, 3 insertions(+), 7 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200127/2b968a62/attachment-0001.sig>


More information about the libvir-list mailing list