From nobody Sun Feb 8 15:30:31 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 207.211.31.81 as permitted sender) client-ip=207.211.31.81; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of redhat.com designates 207.211.31.81 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=1574258918; cv=none; d=zoho.com; s=zohoarc; b=kMDw2ZHBSgifmAgPfGFMEU7i+2JBd2LDqP5hkn1u8NkmVpWY+mFg6n3tLnQglsou2p9XqedLNvXgGYav6H30Nb29q778nNMWm2/Cha4wvby9hzu5pwlS+SdNT0H3/O8MabEW+vd5AX1WjnfFzPE2OXZxYE2uXWjlOUZ+mQVlQcU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1574258918; 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=E9SC4bn02vmrtH164Ncvjt0yyvIFyzHPcX4o2lqvp2s=; b=Qud98cViJoOLjzU8KyAfWTXEDPeb9CEetK5wx2F2cuVJJGKAN6VGtYdImBXhyw2Mhg+exB+uy2OesmBl9IynRyzQZsHnZfID4CtK2Wfm/FDIDkAVvTPkcFoI5mFipnUSuHoRDSTFkYSelpfIAIqBGoHDuQO6lpyxRGdVj6oOfaA= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of redhat.com designates 207.211.31.81 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-delivery-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) by mx.zohomail.com with SMTPS id 1574258918187319.43296323612594; Wed, 20 Nov 2019 06:08:38 -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-125-wySoETVPNJCpeVK4y69p7w-1; Wed, 20 Nov 2019 09:08:33 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id AC9EF8024CF; Wed, 20 Nov 2019 14:08:23 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 827E451F1B; Wed, 20 Nov 2019 14:08:23 +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 3A8AE180CB3B; Wed, 20 Nov 2019 14:08:23 +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 xAKE84DX003195 for ; Wed, 20 Nov 2019 09:08:04 -0500 Received: by smtp.corp.redhat.com (Postfix) id 3DE801036C7E; Wed, 20 Nov 2019 14:08:04 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.43.2.149]) by smtp.corp.redhat.com (Postfix) with ESMTP id BD1B41036C6C for ; Wed, 20 Nov 2019 14:08:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1574258917; 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=E9SC4bn02vmrtH164Ncvjt0yyvIFyzHPcX4o2lqvp2s=; b=KohYRrntyFQViiG8YX2L7AOJ1gkx9n18iu0szFQX2YqThqpScf4HSamTokGjogEgmVZifi /OJ8Fb4VhJXPmU5kjWxlsBhB3SzjbN2mt40OQpbWT94Vm+n993MWyl/15DZhPRSU3rgqGf shvotzwFDkh37+OvOmyfPk7kpVEZ5Xc= From: Pavel Hrdina To: libvir-list@redhat.com Date: Wed, 20 Nov 2019 15:07:48 +0100 Message-Id: <09278b0ce3ea7553c698188e8d7e08bdaecb6196.1574258838.git.phrdina@redhat.com> 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 06/13] use g_ascii_islower instead of c_islower 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.12 X-MC-Unique: wySoETVPNJCpeVK4y69p7w-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/virutil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/virutil.c b/src/util/virutil.c index f965bb0e5d..f3cf494353 100644 --- a/src/util/virutil.c +++ b/src/util/virutil.c @@ -393,11 +393,11 @@ int virDiskNameParse(const char *name, int *disk, int= *partition) } } =20 - if (!ptr || !c_islower(*ptr)) + if (!ptr || !g_ascii_islower(*ptr)) return -1; =20 for (i =3D 0; *ptr; i++) { - if (!c_islower(*ptr)) + if (!g_ascii_islower(*ptr)) break; =20 idx =3D (idx + (i < 1 ? 0 : 1)) * 26; --=20 2.23.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list