From nobody Tue Feb 10 16:18:48 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 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=1653327549; cv=none; d=zohomail.com; s=zohoarc; b=ivB8VtegEpEA8BtIceqX9VFqVAbz1VCzt3C/4n8R6IP1ZZ3vBGnP840x6h3vu3bLIO+8sBFHTlL6SSaobGVNAww2K342wr7XijUx09PstvNz7iynVTdhDqmF156eypyT8GXGEwAcC6rtaInXbltBXCglFXLm85kKCw2aC5nUG7U= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1653327549; 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=zfqHasOIwOP/5vbiq8sMGE8Ht2t5LWPvXUwqTJfesJU=; b=cie+OqOIYX/RcqJkp8TBnHdtnwTzNKQWjJ7fMurFm+c62BQbCVdMPhRrtrMxj8xdGfk/CcwDvy11wZclmAwxuHg4QxEoC3D+l/cKK5fZpctg6Q7KPB+g6z7IthuZ8PXgn95X3xrmvHry/WmgIb4rNYF+4LMzpu8lu3cmxfUkNnI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1653327549327762.6984672686297; Mon, 23 May 2022 10:39:09 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-183-lEDgJNYWPNqAVtTUKuFf8g-1; Mon, 23 May 2022 13:38:11 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 057D9803D4E; Mon, 23 May 2022 17:38:07 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id E649C2166B2D; Mon, 23 May 2022 17:38:06 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id C9B5B194705E; Mon, 23 May 2022 17:38:06 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id B260C1947059 for ; Mon, 23 May 2022 17:38:00 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 923711121320; Mon, 23 May 2022 17:38:00 +0000 (UTC) Received: from harajuku.usersys.redhat.com.homenet.telecomitalia.it (unknown [10.40.192.104]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1DFFF112131B for ; Mon, 23 May 2022 17:37:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1653327547; 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=zfqHasOIwOP/5vbiq8sMGE8Ht2t5LWPvXUwqTJfesJU=; b=Fg/VYoloBiBNuiLD7nICYU3pMMxDcLe/ODscditvWcDqXOfopbaqEWweC0nujYvE3lFp2+ fcPniA56MpwDFrwZul7hgXZxfqeP6QL2Nue5d8fJu3AiEDBzn3UPrgglz7NbJFF/fYSdWU yMoP/a5OSyR0lhfWG3QUM+foTNWYb60= X-MC-Unique: lEDgJNYWPNqAVtTUKuFf8g-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH 05/13] syntax-check: Use VC_LIST_EXCEPT in sc_prohibit_backup_files Date: Mon, 23 May 2022 19:37:46 +0200 Message-Id: <20220523173754.336735-6-abologna@redhat.com> In-Reply-To: <20220523173754.336735-1-abologna@redhat.com> References: <20220523173754.336735-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1653327550169100001 Content-Type: text/plain; charset="utf-8" We can assume that VC_LIST_ALWAYS_EXCLUDE_REGEX will not be defined in a way that would catch backup files. Signed-off-by: Andrea Bolognani --- build-aux/syntax-check.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-aux/syntax-check.mk b/build-aux/syntax-check.mk index 5244d4ee2d..d6f2a0602d 100644 --- a/build-aux/syntax-check.mk +++ b/build-aux/syntax-check.mk @@ -1326,7 +1326,7 @@ sc_prohibit_defined_have_decl_tests: =20 # Prohibit checked in backup files. sc_prohibit_backup_files: - @$(VC_LIST) | $(GREP) '~$$' && \ + @$(VC_LIST_EXCEPT) | $(GREP) '~$$' && \ { echo '$(ME): found version controlled backup file' 1>&2; \ exit 1; } || : =20 --=20 2.35.3