Re: svn commit: r303502 - head/usr.bin/indent

2016-07-29 Thread Pedro Giffuni
On 07/29/16 19:00, Bruce Evans wrote: On Fri, 29 Jul 2016, Pedro F. Giffuni wrote: Log: indent(1): Use NULL instead of zero for pointers. This is probably not indent's style, I doubt that you found all of the implicit NULLs. A recent commit added strstr() without even a comparison with 0.

Re: svn commit: r303502 - head/usr.bin/indent

2016-07-29 Thread Bruce Evans
On Fri, 29 Jul 2016, Pedro F. Giffuni wrote: Log: indent(1): Use NULL instead of zero for pointers. This is probably not indent's style, I doubt that you found all of the implicit NULLs. A recent commit added strstr() without even a comparison with 0. This adds some lexical style bugs. Mo

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

2016-07-29 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jul 29 19:36:10 2016 New Revision: 303502 URL: https://svnweb.freebsd.org/changeset/base/303502 Log: indent(1): Use NULL instead of zero for pointers. Modified: head/usr.bin/indent/args.c head/usr.bin/indent/indent.c head/usr.bin/indent/io.c head/usr.bin/indent/lex