Fix the build for non-amd64.
Mechanically convert cddl sun #ifdef's to illumosSince the upstream for cddl code is now illumos not sun, mechanicallyconvert all sun #ifdef's to illumos #ifdef's which have been used in allnewer
Mechanically convert cddl sun #ifdef's to illumosSince the upstream for cddl code is now illumos not sun, mechanicallyconvert all sun #ifdef's to illumos #ifdef's which have been used in allnewer 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.MFC after: 1 monthSponsored by: Multiplay
show more ...
Use 'int' to store the return value of getopt(), rather than char.On some architectures (powerpc), char is unsigned by default, which meanscomparisons against -1 always fail, so the programs get s
Use 'int' to store the return value of getopt(), rather than char.On some architectures (powerpc), char is unsigned by default, which meanscomparisons against -1 always fail, so the programs get stuck in aninfinite loop.MFC after: 1 week
Port plockstat to FreeBSD. This will be connected to the build later.Sponsored by: The FreeBSD Foundation
MFV: OpenSolaris' plockstat utility.Sponsored by: The FreeBSD Foundation