History log of /freebsd-10-stable/cddl/contrib/opensolaris/cmd/plockstat/plockstat.c
Revision Date Author Comments
# 297088 20-Mar-2016 mav

MFC r291637 (by bdrewery): Fix the build for non-amd64.


# 297077 20-Mar-2016 mav

MFC r277300 (by smh): Mechanically convert cddl sun #ifdef's to illumos

Since the upstream for cddl code is now illumos not sun, mechanically
convert all sun #ifdef's to illumos #ifdef's which have been used in all
newer code for some time.

Also do a manual pass to correct the use if #ifdef comments as per style(9)
as well as few uses of #if defined(__FreeBSD__) vs #ifndef illumos.


# 260671 15-Jan-2014 jhibbits

MFC r258362

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.


# 260671 15-Jan-2014 jhibbits

MFC r258362

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.