From nobody Sun Feb 8 14:56:36 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1574258961; cv=none; d=zoho.com; s=zohoarc; b=Zc0jSbpIMm3GC0Z9rGbxFYjPmYtWxRB+VWywh9kmkoTKHGzPM1QregAKH1VYvCucQwg9D2XdfYBn64utg2mF00jNK5usH7q/wlmGPZ3Nlbo6HkY+1istd1qFUKRW7N1eWsDEcKEnU/QpG45rH/Il6vL9Dvf+NsfCwTEqWUuxxX4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1574258961; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=eKvasq1IR/no5mMndkeO0PDbwfZZPWIUhySfdj6JlXo=; b=fhBRSxRriaUbTAFM4HmLv7ZBd7rlPwAxUCPB20e3lplvqv569BG6giC9lgpvhIEteBuZAAbcfUGHKJYwUGHCny8XulFAIAGq0PLRMIAysM3GHx2qs43h49UiZntImkuGd1EQLQpHcxWjV9Bq/eU382LUKfxjGY3XOpl/YjXtwOU= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 1574258961889144.81302750599025; Wed, 20 Nov 2019 06:09:21 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-301-t5Hjt94eOGWuFm5-AL1SSQ-1; Wed, 20 Nov 2019 09:08:27 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id BC3658024D3; Wed, 20 Nov 2019 14:08:15 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 903EF53C30; Wed, 20 Nov 2019 14:08:15 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 4CB784E56D; Wed, 20 Nov 2019 14:08:15 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id xAKE88gh003243 for ; Wed, 20 Nov 2019 09:08:08 -0500 Received: by smtp.corp.redhat.com (Postfix) id 38C0A1036C7E; Wed, 20 Nov 2019 14:08:08 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.43.2.149]) by smtp.corp.redhat.com (Postfix) with ESMTP id B81A51036C6C for ; Wed, 20 Nov 2019 14:08:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1574258960; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=eKvasq1IR/no5mMndkeO0PDbwfZZPWIUhySfdj6JlXo=; b=BMkTEPo/50fH9F4DXJQi6k8ZciZazDsXcm/v1xgPobSMosiMBHaScsJZQgC4v2Ujj9VqFM zyDdggPOrWuXaK4utlMzqNTRGEpH9biO3CagqU3hSyGybJDaqiDiDJvjAQ1kuDdMASTHeK 15DudxENYUhShH8OPJGW23Cu36FHr28= From: Pavel Hrdina To: libvir-list@redhat.com Date: Wed, 20 Nov 2019 15:07:53 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 11/13] use g_ascii_toupper instead of c_toupper from gnulib X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-MC-Unique: t5Hjt94eOGWuFm5-AL1SSQ-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Signed-off-by: Pavel Hrdina --- src/util/virstring.c | 3 +-- tools/virsh-console.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/util/virstring.c b/src/util/virstring.c index 311c9058db..bd7c640042 100644 --- a/src/util/virstring.c +++ b/src/util/virstring.c @@ -21,7 +21,6 @@ #include #include =20 -#include "c-ctype.h" #include "virstring.h" #include "virthread.h" #include "viralloc.h" @@ -1329,7 +1328,7 @@ virStringToUpper(char **dst, const char *src) return -1; =20 for (i =3D 0; src[i]; i++) { - cap[i] =3D c_toupper(src[i]); + cap[i] =3D g_ascii_toupper(src[i]); if (cap[i] =3D=3D '-') cap[i] =3D '_'; } diff --git a/tools/virsh-console.c b/tools/virsh-console.c index a087d82776..2e498a6903 100644 --- a/tools/virsh-console.c +++ b/tools/virsh-console.c @@ -29,7 +29,6 @@ # include # include # include -# include =20 # include "internal.h" # include "virsh.h" @@ -399,7 +398,7 @@ static char virshGetEscapeChar(const char *s) { if (*s =3D=3D '^') - return CONTROL(c_toupper(s[1])); + return CONTROL(g_ascii_toupper(s[1])); =20 return *s; } --=20 2.23.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list