summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-09-07 09:43:03 +0000
committerJim Meyering <jim@meyering.net>2001-09-07 09:43:03 +0000
commitaaeb7a61c4662fd28cf2bc161b740352711538d2 (patch)
treee890fefd0a6db7741ecfa2f5e10af325d9d8c2ee /doc
parent3a6d52861dece0b96e1dc479ba93056fa3667fad (diff)
downloadcoreutils-aaeb7a61c4662fd28cf2bc161b740352711538d2.tar.xz
Correct copyright notice as per latest coding standards.
Remove list of options in comment, which wasn't worth maintaining separately from usage(). (print_element): Move definition up, avoiding the need for declaration and allowing inlining on some platforms. Keep track of whether something has been printed; this is more natural than modifying `toprint'. (PRINT_KERNEL_NAME): Renamed from PRINT_SYSNAME. (PRINT_KERNEL_RELEASE): Renamed from PRINT_RELEASE. (PRINT_KERNEL_VERSION): Renamed from PRINT_VERSION. (PRINT_HARDWARE_PLATFORM, PRINT_OPERATING_SYSTEM): New macros. (toprint): Remove global var; now local in `main'. (long_options, usage, main): Implement changes described in NEWS. Reorder options to reflect output order. (main): Use buffers one byte longer, for compatibility with Solaris 8. Output newline at end. -a sets `toprint' to -1 now; this is simpler. Do not bother invoking system calls like uname if the resulting information does not need to be printed. Do not fail if sysinfo fails; just print "unknown".
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions