From nobody Thu Sep 17 01:08:32 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4hld1L4YsWz6sbmG for ; Thu, 17 Sep 2026 01:08:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hld1L1ZYFz4bDt for ; Thu, 17 Sep 2026 01:08:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789607318; h=from:from: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; bh=j43kzxthPADlyZzEK04DCXUnWTWbcXa1y8YDC1FOxjc=; b=qWMeXbHnm9hJQyusSH3Wtnbn0V+ZQmtus/pWHgEDuBeuKpqvztJ2DrkXxnwwaCqABeTR+g nG6yvtKPKXlwKmbnQZTKNnWDcO3favZBP1r2bykFqfEijktINu4IBn4TWvonOeoAoQSE2A OXz2KsIN255cZbnRJQ19Pk3JTFbaWWwnw/CE5sSsdwTsjg/T4SM4qnBGFvEwqYmGBHMJit FfgOOcC7qxisSSe2lMgKJzKYADHja8kh/HFqxBxAp4jT/i4GrH/B0MbiZ+3O4ZYdy+Msod MEIge/2gOFg/DS+zM4hhbkA2MRorOitKP+NJXJwKZSLNFYeX0gYHBEZxLpzQjQ== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1789607318; b=H3gfICcrNPApBIiVFVU//xs2GOboKNkRNiwtuYpoI0rAwmRWerQ+tfE76U4Y8Naxs109aO gr1cWRqKVimB9mPpocQzLWI75bB0XN2H24Djnj5XxL57ckLXuw9pOJ2FSvyVDma4oTZZJ1 Z1TOxV9EmSv9PaqQHgm44/Qnq+5BWRW5mUycGZpQMCcrRA/IR2QfKW3xe2mY+Hudt3Mpru BQ6O3tInmMdrIWXiAZuiN/LYMaU2j1zISX/LIFWD11b0LtCZCLUBSJDQ9HKrL7UQ5dqqJf q80ufzaG6s8npNgGzTfmEGg7vFfYeS7Anrk7sIYsU3p2FAeyBCfCtwfPNZfWLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789607318; h=from:from: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; bh=j43kzxthPADlyZzEK04DCXUnWTWbcXa1y8YDC1FOxjc=; b=rFLylgRVUjDIsAzNOCAkVFk7hGTmbSmCT7idoy9tCeEwCkPFiKUpMiQR3iTaavOhp8+axX 4jTOF0zrwH1kUxQNYXfb/31DdXjPee5L+l0Nfr8wmZsLAXib9fV9OXP2KWW4jD84OSDLO6 83RFIWQGNeAJiGYJIhYimCbxMjFk+nnJFllo1Z69puyit9yJFp8bvadjK8XGC7zqy21pc2 JS2o2lQht7Ro4+9zbZyzSlR1OhBT0N+5UV20q4LwE4mefKp0/NnOL8eVnogU3btbqUQJlE ytP5p/+laolQGkkgRB3KtvecScHdXsZ5vevwHHrwJlv24+7CzhPz7kBI2dFKAA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hld1L0MPZz193D for ; Thu, 17 Sep 2026 01:08:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3460a by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 17 Sep 2026 01:08:32 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Devin Teske Subject: git: 90ad63b54031 - main - libbsdconf: Remove unnecessary parens List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dteske X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 90ad63b540317ce7c349b5ebab065b40ba748c27 Auto-Submitted: auto-generated Date: Thu, 17 Sep 2026 01:08:32 +0000 Message-Id: <6aab3d90.3460a.489042b1@gitrepo.freebsd.org> The branch main has been updated by dteske: URL: https://cgit.FreeBSD.org/src/commit/?id=90ad63b540317ce7c349b5ebab065b40ba748c27 commit 90ad63b540317ce7c349b5ebab065b40ba748c27 Author: Devin Teske AuthorDate: 2026-09-17 01:05:39 +0000 Commit: Devin Teske CommitDate: 2026-09-17 01:05:39 +0000 libbsdconf: Remove unnecessary parens Reviewed by: fuz Differential Revision: https://reviews.freebsd.org/D59745 --- lib/libbsdconf/bsdconf.c | 12 ++++++------ lib/libbsdconf/bsdconf.h | 4 ++-- lib/libbsdconf/bsdconf_put.c | 22 +++++++++++----------- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/lib/libbsdconf/bsdconf.c b/lib/libbsdconf/bsdconf.c index 07a03a656dbc..17f272f3a3e3 100644 --- a/lib/libbsdconf/bsdconf.c +++ b/lib/libbsdconf/bsdconf.c @@ -420,12 +420,12 @@ bsdconf_fparse(struct bsdconf_option options[], int fd, } /* Processing options */ - bequals = (processing_options & BSDCONF_BREAK_ON_EQUALS); - bsemicolon = (processing_options & BSDCONF_BREAK_ON_SEMICOLON); - case_sensitive = (processing_options & BSDCONF_CASE_SENSITIVE); - operator_equals = (processing_options & BSDCONF_OPERATOR_EQUALS); - require_equals = (processing_options & BSDCONF_REQUIRE_EQUALS); - strict_equals = (processing_options & BSDCONF_STRICT_EQUALS); + bequals = processing_options & BSDCONF_BREAK_ON_EQUALS; + bsemicolon = processing_options & BSDCONF_BREAK_ON_SEMICOLON; + case_sensitive = processing_options & BSDCONF_CASE_SENSITIVE; + operator_equals = processing_options & BSDCONF_OPERATOR_EQUALS; + require_equals = processing_options & BSDCONF_REQUIRE_EQUALS; + strict_equals = processing_options & BSDCONF_STRICT_EQUALS; /* Read the file until EOF */ while (r > 0) { diff --git a/lib/libbsdconf/bsdconf.h b/lib/libbsdconf/bsdconf.h index 02fc4dce8f12..00a5d6e07905 100644 --- a/lib/libbsdconf/bsdconf.h +++ b/lib/libbsdconf/bsdconf.h @@ -34,10 +34,10 @@ /* * Library version info */ -#define BSDCONF_VERSION "1.1.0 2026-09-15" +#define BSDCONF_VERSION "1.1.1 2026-09-16" #define BSDCONF_VERSION_MAJOR 1 #define BSDCONF_VERSION_MINOR 1 -#define BSDCONF_VERSION_PATCH 0 +#define BSDCONF_VERSION_PATCH 1 /* * Union for storing various types of data in a single common container. diff --git a/lib/libbsdconf/bsdconf_put.c b/lib/libbsdconf/bsdconf_put.c index 20053f628518..a26ab33d0c70 100644 --- a/lib/libbsdconf/bsdconf_put.c +++ b/lib/libbsdconf/bsdconf_put.c @@ -100,19 +100,19 @@ bsdconf_put(struct bsdconf_option options[], const char *path, tpath[0] = '\0'; /* Decode processing options */ - bequals = (processing_options & BSDCONF_BREAK_ON_EQUALS); - bsemicolon = (processing_options & BSDCONF_BREAK_ON_SEMICOLON); - case_sensitive = (processing_options & BSDCONF_CASE_SENSITIVE); - operator_equals = (processing_options & BSDCONF_OPERATOR_EQUALS); - require_equals = (processing_options & BSDCONF_REQUIRE_EQUALS); - strict_equals = (processing_options & BSDCONF_STRICT_EQUALS); + bequals = processing_options & BSDCONF_BREAK_ON_EQUALS; + bsemicolon = processing_options & BSDCONF_BREAK_ON_SEMICOLON; + case_sensitive = processing_options & BSDCONF_CASE_SENSITIVE; + operator_equals = processing_options & BSDCONF_OPERATOR_EQUALS; + require_equals = processing_options & BSDCONF_REQUIRE_EQUALS; + strict_equals = processing_options & BSDCONF_STRICT_EQUALS; /* Decode put options */ - backup = (put_options & BSDCONF_PUT_BACKUP); - emptyok = (put_options & BSDCONF_PUT_ALLOW_EMPTY); - nodup = (put_options & BSDCONF_PUT_NO_DUPLICATES); - quote_always = (put_options & BSDCONF_PUT_QUOTE_ALWAYS); - unquoted = (put_options & BSDCONF_PUT_UNQUOTED); + backup = put_options & BSDCONF_PUT_BACKUP; + emptyok = put_options & BSDCONF_PUT_ALLOW_EMPTY; + nodup = put_options & BSDCONF_PUT_NO_DUPLICATES; + quote_always = put_options & BSDCONF_PUT_QUOTE_ALWAYS; + unquoted = put_options & BSDCONF_PUT_UNQUOTED; /* Quoting directives are mutually exclusive */ if (unquoted && quote_always) {