From nobody Tue Dec 07 00:27:32 2021 X-Original-To: dev-commits-src-branches@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 42A6218D39B3; Tue, 7 Dec 2021 00:27: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J7LjJ3wnlz4SJQ; Tue, 7 Dec 2021 00:27:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4FD32159FF; Tue, 7 Dec 2021 00:27:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1B70RWs4021305; Tue, 7 Dec 2021 00:27:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B70RWSq021304; Tue, 7 Dec 2021 00:27:32 GMT (envelope-from git) Date: Tue, 7 Dec 2021 00:27:32 GMT Message-Id: <202112070027.1B70RWSq021304@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 198932fd77db - stable/13 - posix_spawn.c: format fae_action anon enum more stylish List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 198932fd77db366a52df8cd1cbb748737f810acf Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638836852; 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=X0QJHAw35tFIbzdy8yAua/i+9yz3C2oJsqBIYrAYaNk=; b=T3v+WdkP9pOlpxWOT6ZbhDbMcyjg/eSzK2llXbii8W4SVvUcq+K9NsDHjdQFpBee0ufhx8 TVRaH5aVpESZL6+9eGUymU7GiuHK0U6xRK+BlI0H/r8xKMfUHMip58AZ0+eWjtYXL6UfZm mEBv75ouzWffaL5GM/xeS8UxsZZQLeuJMoV15hv0YPnkGxUhPGWzdP9eWQf82K/UpW0EQ3 P78+0BSKDbmNEXwMVTtYuccQy4j2/3UOpyZhV5rVEnwCQmQepDs3U5RMyxWOjkGl2AiMeH XRobaKuFC5xclxMurmwUOFyte8ONnSwYHBEuWcMdLK4xCpHErKvzlVGj49OoTQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638836852; a=rsa-sha256; cv=none; b=ilKMnRxKAeELGzqFeLQRqvxVW1uEdIKFVXeIGt5gg+YZ6RZDjyEfcTnHxVL6zElOP93od2 1sDHxM67jSEBKJJFIkCjIxbr7HPIFJ8t6IX6gU+1hcd4G7rluOkt0I5VAKT/gtYubE34cy XWZKCUqwTx9JHGkK029lfAlmRyp3au3+zf5hCwwHjJz/cjCbsA+BheozzlXWG56tPu9Bus UQAfbbgb9fvxYS8Ts1eI0S8G7L1PmA35W+bmZud0qeYiUl0bXrynH68yAHCuCD/WfcSHLf 4MMgd3UuD/RyQPy3djhremMicSFCm0BzkA6XBt5skyCcEzlIkcqf394yNs/XIg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=198932fd77db366a52df8cd1cbb748737f810acf commit 198932fd77db366a52df8cd1cbb748737f810acf Author: Konstantin Belousov AuthorDate: 2021-11-27 22:36:19 +0000 Commit: Konstantin Belousov CommitDate: 2021-12-07 00:25:01 +0000 posix_spawn.c: format fae_action anon enum more stylish (cherry picked from commit adbaf1b443c68c70911aeb62c9963dd583ec9b45) --- lib/libc/gen/posix_spawn.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/libc/gen/posix_spawn.c b/lib/libc/gen/posix_spawn.c index 0bca52811e30..e70772e31753 100644 --- a/lib/libc/gen/posix_spawn.c +++ b/lib/libc/gen/posix_spawn.c @@ -62,7 +62,11 @@ struct __posix_spawn_file_actions { typedef struct __posix_spawn_file_actions_entry { STAILQ_ENTRY(__posix_spawn_file_actions_entry) fae_list; - enum { FAE_OPEN, FAE_DUP2, FAE_CLOSE } fae_action; + enum { + FAE_OPEN, + FAE_DUP2, + FAE_CLOSE, + } fae_action; int fae_fildes; union {