head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2026.05.01.19.49.48; author vins; state Exp; branches; next ; commitid SwoiCvBG4ddWf9EG; desc @@ 1.1 log @misc/libimobiledevice-glue: import libimobiledevice-glue-1.3.2 from wip (Packaged in wip by wiz). Library with common code used by the libraries and tools around the libimobiledevice project. @ text @$NetBSD$ Fix ctype(3) usage. https://github.com/libimobiledevice/libimobiledevice-glue/pull/52 --- src/utils.c.orig 2025-07-31 18:18:48.354814064 +0000 +++ src/utils.c @@@@ -220,7 +220,7 @@@@ char *string_toupper(char* str) char *res = strdup(str); size_t i; for (i = 0; i < strlen(res); i++) { - res[i] = toupper(res[i]); + res[i] = toupper((unsigned char)res[i]); } return res; } @