Wireshark mailing list archives

Changing isprint to g_ascii_print


From: Jakub Zawadzki <darkjames-ws () darkjames pl>
Date: Sat, 21 Dec 2013 16:32:18 +0100

Hello,

I removed isprint.h file, and replaced all isprint() using this hack
to g_ascii_isprint().

I've also simplify: isascii && isprint() to g_ascii_isprint()

This changes seems correct, but please review.


Still we have lot of isprint() calls (some in Qt) which I
think should be using g_ascii_*() [1].

Please check.

Thanks,
Kuba.

[1] https://developer.gnome.org/glib/2.28/glib-String-Utility-Functions.html#g-ascii-isalnum
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: