freebsd-dev/cddl/contrib
Justin Hibbits 59d74a351f Use 'int' to store the return value of getopt(), rather than char.
On some architectures (powerpc), char is unsigned by default, which means
comparisons against -1 always fail, so the programs get stuck in an
infinite loop.

MFC after:	1 week
2013-11-20 01:42:29 +00:00
..
dtracetoolkit
opensolaris Use 'int' to store the return value of getopt(), rather than char. 2013-11-20 01:42:29 +00:00