svn commit: r206687 - head/usr.bin/indent

Bruce Evans brde at optusnet.com.au
Fri Apr 16 11:11:38 UTC 2010


On Thu, 15 Apr 2010, Andriy Gapon wrote:

> Log:
>  indent(1): don't treat bare '_t' as a type name when -ta is used
>
>  It seems that identifier "_t" is sometimes used as a variable name,
>  even in our tree.  Not that I endorse that, but still it's better
>  to require at least one character before _t suffix to consider
>  an identifier to be a type name.
>
>  Reported by:	Alex Vasylenko <lxv at omut.org>
>  MFC after:	1 week

Funny.  POSIX reserves "_t" as a suffix in header files, so unless it
also requires a non-null prefix, "_t" is reserved in POSIX.

Bruce


More information about the svn-src-head mailing list