'pr --length=1 --double-space' no longer enters an infinite loop.
[This bug was present in "the beginning".]
+ 'uptime' no longer incorrectly prints "0 users" on OpenBSD.
+ [bug introduced in coreutils-9.2]
+
'wc -l' and 'cksum' no longer crash with an "Illegal instruction" error
on x86 Linux kernels that disable XSAVE YMM. This was seen on Xen VMs.
[bug introduced in coreutils-9.0]
}
#endif
-#if HAVE_STRUCT_UTMP_UT_TYPE || HAVE_STRUCT_UTMPX_UT_TYPE
/* Loop through all the utmp entries we just read and count up the valid
ones, also in the process possibly gleaning boottime. */
while (n--)
boot_time = UT_TIME_MEMBER (this);
++this;
}
-#else
- (void) n;
- (void) this;
-#endif
time_now = time (nullptr);
#if defined HAVE_PROC_UPTIME
size_t n_users;
STRUCT_UTMP *utmp_buf = nullptr;
-#if HAVE_STRUCT_UTMP_UT_TYPE || HAVE_STRUCT_UTMPX_UT_TYPE
if (read_utmp (filename, &n_users, &utmp_buf, options) != 0)
error (EXIT_FAILURE, errno, "%s", quotef (filename));
-#endif
print_uptime (n_users, utmp_buf);