head 1.1; access; symbols; locks; strict; comment @// @; 1.1 date 2026.08.11.14.21.47; author riastradh; state Exp; branches; next ; commitid pftVZIdqGCIraeRG; desc @@ 1.1 log @net/transmission: Fix ctype abuse. Excluding the third-party/ directory for now -- lot more patching to do for that. PR pkg/60574: transmission-daemon etc. abort on invalid toupper(3) call @ text @$NetBSD$ Fix ctype(3) abuse. https://gnats.NetBSD.org/60574 --- utils/remote.cc.orig 2026-06-29 23:12:56.000000000 +0000 +++ utils/remote.cc @@@@ -623,7 +623,7 @@@@ void add_id_arg(tr_variant::Map& params, for (auto const& ch : id_str) { - is_num = is_num && isdigit(ch); + is_num = is_num && isdigit(static_cast(ch)); } if (is_num || is_list) @