diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-08-22 17:42:21 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-08-22 17:42:21 +0000 |
commit | cafb7947b5a1c658a97cfd5251500dbd5f86028c (patch) | |
tree | b137c42eb7623905b91bb7a3bae1434d1546057f /ChangeLog | |
parent | 0797e95b8a8aa6a9dbbd21d60dfbce66a8b67c2e (diff) | |
download | coreutils-cafb7947b5a1c658a97cfd5251500dbd5f86028c.tar.xz |
BeOS portability.
* src/uptime.c: Include OS.h if it exists.
(print_uptime): On BeOS, use the get_system_info function (actually a
macro). Loop through utmp entries only if utmp.h or utmpx.h exists.
(uptime): Call read_utmp only if utmp.h or utmpx.h exists.
* m4/boottime.m4 (GNULIB_BOOT_TIME): Test also for utmp.h, utmpx.h,
OS.h. Don't require to have utmp.h or utmpx.h. Enable boottime
support if <OS.h> is found.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +2006-08-22 Bruno Haible <bruno@clisp.org> + + BeOS portability. + * src/uptime.c: Include OS.h if it exists. + (print_uptime): On BeOS, use the get_system_info function (actually a + macro). Loop through utmp entries only if utmp.h or utmpx.h exists. + (uptime): Call read_utmp only if utmp.h or utmpx.h exists. + 2006-08-22 Jim Meyering <jim@meyering.net> * .cvsignore: Add ABOUT-NLS. |