From nobody Tue Nov 30 02:16:34 2021 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 6A33818B1B87; Tue, 30 Nov 2021 02:16:35 +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 4J35SM0KKVz4Vcr; Tue, 30 Nov 2021 02:16:35 +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 DEE5C59FC; Tue, 30 Nov 2021 02:16:34 +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 1AU2GY9h008105; Tue, 30 Nov 2021 02:16:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AU2GY9W008104; Tue, 30 Nov 2021 02:16:34 GMT (envelope-from git) Date: Tue, 30 Nov 2021 02:16:34 GMT Message-Id: <202111300216.1AU2GY9W008104@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: adbaf1b443c6 - main - posix_spawn.c: format fae_action anon enum more stylish 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/main X-Git-Reftype: branch X-Git-Commit: adbaf1b443c68c70911aeb62c9963dd583ec9b45 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638238595; 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=8QKlPwRMvsiAN0DTy9pk9mKdMbEACsvORES2qz+WgaI=; b=UwdAD6b/zQo5TsT6El7m+T9AebDMb+RdXYPuIzpa7Jx9TG2zUZpEMF1yxvJztzXy2QrOSR cO/T48ias2aRCKvkRgiyxz6ObHeL1zZrbQ3TyzuDzOYapdG5XcKqplRUTZmxQBnOLra1Of kcDXJ3gug5GKxspyDuEpVphwjJfc1ZvB1KHzSpSsoQBKYbdlHrq2n5qWsBJ7w4GhfIOt2z zp8FQ1KOp0OpPb4B8PqLwpOnRJXUzMU6Z1DUhYGbEu49OlYDHlJ3tSQ+CS/DXEKeTq5Siq 4574ZgA/P7VQ/sa1i+qRyp9yJLuu6kiIpiOIHeE/OZym7cdM7JHIcsYe9m5WpA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638238595; a=rsa-sha256; cv=none; b=flqcHiV4IJWQz0YtRjL91u7elXkpo/xZeOBRiQzxDvu1ZVFbQPAVLbAtToXRad4E/niNvV ilmpRKhqZPWY7FD2fW5Gn9TAeizvcZ1/OLlHohyP0NF/NnO5HAoDTZl4Xt9O7Pffpqx1Uq AjQWbmTwv+O9/EDicMNn/hMQcIEDws980SjjuBD08ysVinZW+bzFSasopVfuSNOLZzGnMA I/ynASfoldpMmq3nialPh0hVADKwBK8XtKYHvP2Py7lyQTA4NzMy+52G/w2zQDtuBkziA0 9T/Vo2OzOwaD6+wzELu0iQO+GMVm2YZkTTVTNvgalqnXzb3SeRlVeUjS3VY9JA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=adbaf1b443c68c70911aeb62c9963dd583ec9b45 commit adbaf1b443c68c70911aeb62c9963dd583ec9b45 Author: Konstantin Belousov AuthorDate: 2021-11-27 22:36:19 +0000 Commit: Konstantin Belousov CommitDate: 2021-11-30 01:43:54 +0000 posix_spawn.c: format fae_action anon enum more stylish Reviewed by: kevans, ngie (previous version) Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D33143 --- 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 {