From owner-svn-src-head@freebsd.org Wed Jun 5 02:21:24 2019 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F014615C28B0; Wed, 5 Jun 2019 02:21:23 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-it1-f196.google.com (mail-it1-f196.google.com [209.85.166.196]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8B2508E49C; Wed, 5 Jun 2019 02:21:23 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-it1-f196.google.com with SMTP id s16so1281715ita.2; Tue, 04 Jun 2019 19:21:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc:content-transfer-encoding; bh=uiJd3EmIrhdOQh+lKLAIBzfEV3jPWU0n+rQVVpbxvKs=; b=O96zTNL7UnUjhXcMbRvJJ4OvRlzYJUPU9EU/oPN34V0gHV5+y7YEOYWQVxknSB26PL ek4SA8sN9IovBPRI7dlrSvVbdMu1noeV7kzZJlqn/rrd5aPlXVoaARY79tbO/i0md9YY JwR7E4v56m02ph/Iy4m4nesmdKnWhdtNPlHs0EQOpEaw2dFzMhjS2TSy82aqn+QCDf3T kSmEqAL1zIdo0AbiPxQuBspRrHfcU4OCfcI6hSKnQR6qkAemFF1YHLkBG4bjzxIgvIjy bUuo+oUpCeQt7h8XN/si4shzIVNffZO8AxB5tel3OsBlGgclVMAqa3NkPNnL9HPmAjiz 67IQ== X-Gm-Message-State: APjAAAUZQBXTuZqBxCRDHt04te6zNsO/9bV1QTioPgl+qrKDwQj8xJIf wM/SUb3QG5c+IS3MpK+cqCXrUQe8 X-Google-Smtp-Source: APXvYqxBYUSIFu14CCDTx/6iJiiczEGuHbDRbvuLumQbAal/uulIeVQjw1tcORSEqXVYUA7GcmsSyg== X-Received: by 2002:a24:8304:: with SMTP id d4mr11140310ite.78.1559701276710; Tue, 04 Jun 2019 19:21:16 -0700 (PDT) Received: from mail-it1-f170.google.com (mail-it1-f170.google.com. [209.85.166.170]) by smtp.gmail.com with ESMTPSA id 14sm8917669itl.1.2019.06.04.19.21.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Jun 2019 19:21:16 -0700 (PDT) Received: by mail-it1-f170.google.com with SMTP id i125so843000ite.0; Tue, 04 Jun 2019 19:21:15 -0700 (PDT) X-Received: by 2002:a02:5502:: with SMTP id e2mr23325149jab.87.1559701275632; Tue, 04 Jun 2019 19:21:15 -0700 (PDT) MIME-Version: 1.0 References: <201905301424.x4UEORXr098755@repo.freebsd.org> <20190604225128.GL21836@FreeBSD.org> <20190605095458.S1083@besplex.bde.org> In-Reply-To: <20190605095458.S1083@besplex.bde.org> Reply-To: cem@freebsd.org From: Conrad Meyer Date: Tue, 4 Jun 2019 19:21:04 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r348419 - in head: crypto/heimdal/lib/ipc share/man/man4 sys/compat/linux sys/kern sys/sys usr.sbin/mountd To: Bruce Evans Cc: Gleb Smirnoff , src-committers , svn-src-all , svn-src-head Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 8B2508E49C X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.978,0]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2019 02:21:24 -0000 On Tue, Jun 4, 2019 at 6:31 PM Bruce Evans wrote: > On Tue, 4 Jun 2019, Gleb Smirnoff wrote: > > Why don't use C99 in 2019 instead of preprocessor define? Should be > > > > union { > > void *_cr_unused1; /* compatibility with old ucred *= / > > pid_t cr_pid; > > }; > > Anonymous unions are a gnu89 extension. Only broken C99 compilers like > clang -std=3Dc99 accept them. > > [Pedantic tangent elided.] Gleb simply misspoke. Anonymous unions are part of the standard C11, rather than C99, language; =C2=A76.7.2.1, (13). The point stands; it's 2019 and the feature has been part of the working language long prior to its standardization in 2011. Cheers, Conrad