Re: [PATCH] util/uri: Remove is_hex() function

2024-01-17 Thread Thomas Huth
On 12/01/2024 08.19, Stefan Weil via wrote: Am 12.01.24 um 07:35 schrieb Markus Armbruster: Thomas Huth writes: We can simply use the g_ascii_isxdigit() from the glib instead. ... or even use unescape_string() from the glib? https://docs.gtk.org/glib/type_func.Uri.unescape_string.html

Re: [PATCH] util/uri: Remove is_hex() function

2024-01-11 Thread Stefan Weil via
Am 12.01.24 um 07:35 schrieb Markus Armbruster: Thomas Huth writes: We can simply use the g_ascii_isxdigit() from the glib instead. ... or even use unescape_string() from the glib? https://docs.gtk.org/glib/type_func.Uri.unescape_string.html Regards, Stefan

Re: [PATCH] util/uri: Remove is_hex() function

2024-01-11 Thread Markus Armbruster
Thomas Huth writes: > We can simply use the g_ascii_isxdigit() from the glib instead. > > Signed-off-by: Thomas Huth > --- > util/uri.c | 11 +-- > 1 file changed, 1 insertion(+), 10 deletions(-) > > diff --git a/util/uri.c b/util/uri.c > index dcb3305236..7411c5ba14 100644 > --- a/util

[PATCH] util/uri: Remove is_hex() function

2024-01-11 Thread Thomas Huth
We can simply use the g_ascii_isxdigit() from the glib instead. Signed-off-by: Thomas Huth --- util/uri.c | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/util/uri.c b/util/uri.c index dcb3305236..7411c5ba14 100644 --- a/util/uri.c +++ b/util/uri.c @@ -1561,15 +156