From owner-svn-src-head@FreeBSD.ORG Fri Apr 16 11:34:22 2010 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id DFB451065675 for ; Fri, 16 Apr 2010 11:34:22 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from xps.daemonology.net (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx2.freebsd.org (Postfix) with SMTP id ECB9C1782E9 for ; Fri, 16 Apr 2010 11:34:21 +0000 (UTC) Received: (qmail 63881 invoked from network); 16 Apr 2010 11:34:21 -0000 Received: from unknown (HELO xps.daemonology.net) (127.0.0.1) by localhost with SMTP; 16 Apr 2010 11:34:21 -0000 Message-ID: <4BC84B3D.90302@freebsd.org> Date: Fri, 16 Apr 2010 04:34:21 -0700 From: Colin Percival User-Agent: Thunderbird 2.0.0.24 (X11/20100329) MIME-Version: 1.0 To: Bruce Evans References: <201004152141.o3FLf7WX025585@svn.freebsd.org> <20100416210721.W1238@delplex.bde.org> In-Reply-To: <20100416210721.W1238@delplex.bde.org> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r206687 - head/usr.bin/indent X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 16 Apr 2010 11:34:23 -0000 Bruce Evans wrote: > On Thu, 15 Apr 2010, Andriy Gapon wrote: >> It seems that identifier "_t" is sometimes used as a variable name, >> even in our tree. [...] > > Funny. POSIX reserves "_t" as a suffix in header files, so unless it > also requires a non-null prefix, "_t" is reserved in POSIX. I think you must be reading a different version of POSIX to me. My version says that symbols ending with "_t" may be defined in any header; but not that they cannot be used in non-headers. If one wished to write code which was guaranteed to work on any conforming POSIX system, one would naturally wish to avoid symbols which might legitimately be defined in headers; but as long as we're concerned with one specific system which happens to not define the symbol "_t" in any header, this is a non-issue. -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid