From nobody Thu Sep 17 01:08:32 2026 X-Original-To: dev-commits-src-main@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 4hld1F2jnHz6sc78 for ; Thu, 17 Sep 2026 01:08:33 +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 4hld1F0ZY9z4b0Q for ; Thu, 17 Sep 2026 01:08:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789607313; 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=v1DP0ZKNNHOJq5K6NJSZJ/3h/cnPOpv2aQLqdqZ4JA3mwss+gLnlPb90jlhciZQhj4Tv10 SjOT5zHy9pk95Vxgy/gmUheMhWis+GLgcushD8g8an1mgDTVRxmzMQ0/XONB6qoWHJk8W7 fJCjD5TASQmO/So+Ud7fFPe5drPh71n0Mt/SllWMPzB9iVM62bMOvqSOho9CnxDiDY72Af cryzOypKW788ZYivWGBjnGh/y/8D/PbkQ8UMLwEZVORWS5O3PDV50hZ1JjyWAzDU4DbZPc QKJ/slE6hsl27+e30gyVQzzHgKz0i81AB+0DJye+7s5+EbGarWEJWXYMAU0PPw== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1789607313; b=sQyHuE9XCUgAiyir5T77B5aMFd3yHZhDqKYCQGe2Lxb6Y8QM7UsCOl/9u+1iGqutvC0/vx LHfbDXeHLG3Asttf03Uvvy16VoAb/XkLBJ4zTIIv5qq7lc4dHTws0amJ/T1WeoIsjk/ZuL p5uTnVsYzuOzs8+0GaRsnUdHGzUGt7k9mk9gXrCxpcOfJGrr1NZuvBeOCRYyDlf1STOoT1 3d9VGCES3IlyRbUBkupD4Hoa0NjSvuoKNXyLEctfdQ1wF47cyXvGAf4SVZRweZV4VpBzYX 2rjlshyJnYWshyDtJv4Ih3Sb1Y7NB/Z889tPN9XCIK2FfsZ4d4Z9vqR8EIbD1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789607313; 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=QLTRu7ceWcRJkbI5oiiWWCugPRD2sJBc8EX4v41MNJs4azG52xeL6uV+0xdZW2vAoHg7wV /9OpbKnITJLQUeCVTcrWmu45CBWYpHsKJ5cScawlmdXJk4BmME4dCXfGjgvGob7VUD5cpx 4ZWz+lJ/xUr+gXUs/HItRNrwSsnMeTSzyZyZtbfK4qa/XMjOwpbk1LxwkMYTX78zJoHA3+ Cm8O4FkNW+99iX6QPbaMPi317vZuWeP2qsxSBPKEd35/3CEBaTlKjeo+QlHwMLrPYF/Na/ txBP4PlmSht/A/Em/xJBRg1L8om9rRMREJqn3K+1+phru+MQV01aRZ5Ue0zeZw== 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 4hld1D6lS6z18sG for ; Thu, 17 Sep 2026 01:08:32 +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 the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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) {