From nobody Sun Feb 8 15:54:09 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=1574259008; cv=none; d=zoho.com; s=zohoarc; b=g6mktWy8BR0RxaPOVzO+vzgJCxp3avVzpJ5iPvzjHs48Gfo0eKhIiCQ/7y2PxZjUhO/JVcBs+KEnvnqwyrT3cmVRMFc9LD+4lIJN+XjfmOZzWqGEjvBGoYbbsFRkIKsA7icunu745EYK/FeF87IbBhfAiLrVkFfZev/eybYPGyA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1574259008; 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=4VB4r8XIhR7uNwf5mjoWFhnxWbIt+qypIKz3sK/dCw4=; b=LQE2n2D8ofxef5hxkZIGrwEekLHGSchVkR3QUBOzb+eI5V2xyVlMfqDr5w+plqj1jdWzJNZmaj/3bdm7CATrQ/GgNcAQ2ujm19vZ4F20Q0x8/ZES7M/YwEcKB9+i4uttvZaVOkaHNk7t/69LF9rshX6rjR8l6yrNXqfA4y794ho= 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 1574259008754505.77169263929943; Wed, 20 Nov 2019 06:10:08 -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-147-PCVTu-M8MHyDqPQ2026cnA-1; Wed, 20 Nov 2019 09:08:38 -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 6B51D107ACC5; Wed, 20 Nov 2019 14:08:31 +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 3CECB60252; Wed, 20 Nov 2019 14:08:31 +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 E37351803C43; Wed, 20 Nov 2019 14:08:30 +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 xAKE89DN003255 for ; Wed, 20 Nov 2019 09:08:09 -0500 Received: by smtp.corp.redhat.com (Postfix) id 07C4910375E9; Wed, 20 Nov 2019 14:08:09 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.43.2.149]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8647B1036C7E for ; Wed, 20 Nov 2019 14:08:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1574259007; 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=4VB4r8XIhR7uNwf5mjoWFhnxWbIt+qypIKz3sK/dCw4=; b=OVCgt/JJeVP/RCHmv1bMwXAazBXTYNtEYuiSiKc83oYY7yDVvpCRiex276ieFRwJ54IuGB rxMJKcHvRjU8LwVU6eJnFY5tGqoA3rXzZOISo6Eoj7H0LYqtvS9nlG5d5Fl99MSjVUYk7G 7e+mSoSg3qJgXVd6/K6UQjjJ7/vGGsY= From: Pavel Hrdina To: libvir-list@redhat.com Date: Wed, 20 Nov 2019 15:07:54 +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 12/13] syntax-check: update c-type checks to refer to Glib 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: PCVTu-M8MHyDqPQ2026cnA-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 --- build-aux/syntax-check.mk | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/build-aux/syntax-check.mk b/build-aux/syntax-check.mk index f1e976ec76..fd8c2c6be5 100644 --- a/build-aux/syntax-check.mk +++ b/build-aux/syntax-check.mk @@ -532,7 +532,7 @@ sc_prohibit_select: # Prohibit the inclusion of . sc_prohibit_ctype_h: @prohibit=3D'^# *include *' \ - halt=3D'use c-ctype.h instead of ctype.h' \ + halt=3D'use Glib g_ascii_* function instead of ctype.h' \ $(_sc_search_regexp) =20 # We have our own wrapper for mocking purposes @@ -583,7 +583,7 @@ ctype_re =3D isalnum|isalpha|isascii|isblank|iscntrl|is= digit|isgraph|islower\ sc_avoid_ctype_macros: @prohibit=3D'\b($(ctype_re)) *\(' \ in_vc_files=3D'\.[ch]$$' \ - halt=3D'use c-ctype.h instead of ctype macros' \ + halt=3D'use Glib g_ascii_ macros instead of ctype macros' \ $(_sc_search_regexp) =20 sc_avoid_strcase: @@ -1552,13 +1552,6 @@ sc_prohibit_openat_without_use: re=3D'\<(openat_(permissive|needs_fchdir|(save|restore)_fail)|l?(stat|ch(= own|mod))at|(euid)?accessat|(FCHMOD|FCHOWN|STAT)AT_INLINE)\>' \ $(_sc_header_without_use) =20 -# Prohibit the inclusion of c-ctype.h without an actual use. -ctype_re =3D isalnum|isalpha|isascii|isblank|iscntrl|isdigit|isgraph|islow= er\ -|isprint|ispunct|isspace|isupper|isxdigit|tolower|toupper -sc_prohibit_c_ctype_without_use: - @h=3D'c-ctype.h' re=3D'\