summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-06-23*** empty log message ***Jim Meyering
2004-06-23(idle_string, print_user): New arg boottime,Jim Meyering
specifying the most recent boot time. All uses changed. (idle_string) Consider a line to be "old" if it hasn't been used since the last boot time. Watch out for overflow when computing times, and for times in the future. (idle_string): Record latest boot time.
2004-06-22*** empty log message ***Jim Meyering
2004-06-22.Jim Meyering
2004-06-22The 2004-06-19 fix for who and pinky was incomplete, as ctimeJim Meyering
has undefined behavior if the year precedes -999 or follows 9999. Since we have to stop using ctime anyway, we might as well use strftime and fix the FIXME, and support internationalized dates. * src/who.c: Include "hard-locale.h". (time_format, time_format_width): New vars. (time_string, print_line): Use them. (main): Set them. (time_string): Use localtime + strftime instead of ctime, to avoid problems with years before -999 or after 9999. * src/pinky.c: Likewise.
2004-06-22The 2004-06-19 fix for who and pinky was incomplete, as ctimeJim Meyering
has undefined behavior if the year precedes -999 or follows 9999. Since we have to stop using ctime anyway, we might as well use strftime and fix the FIXME, and support internationalized dates. Include "hard-locale.h". (time_format, time_format_width): New vars. (time_string, print_line): Use them. (main): Set them. (time_string): Use localtime + strftime instead of ctime, to avoid problems with years before -999 or after 9999.
2004-06-22*** empty log message ***Jim Meyering
2004-06-22(usage): Correct description of `-t FD'. The fileJim Meyering
descriptor, FD, is no longer optional. Reported by Ton Nijkes.
2004-06-22*** empty log message ***Jim Meyering
2004-06-22*** empty log message ***Jim Meyering
2004-06-22Fix bug: GNU 'ls' didn't count columns correctly if user or groupJim Meyering
names contained multibyte characters where the column count differed from the byte count. This patch also corrects some comments. (format_user_or_group): New function, which counts columns correctly. (format_user, format_group): Use it. (format_user_or_group_width): New function, which counts columns correctly. (format_user_width, format_group_width): Use it.
2004-06-22*** empty log message ***Jim Meyering
2004-06-21*** empty log message ***Jim Meyering
2004-06-21Quote "$PATH" in PATH=$PATH.Jim Meyering
2004-06-21*** empty log message ***Jim Meyering
2004-06-21When running as root, be sure to propagateJim Meyering
PATH through to the process we exec as non-root.
2004-06-21*** empty log message ***Jim Meyering
2004-06-21.Jim Meyering
2004-06-21*** empty log message ***Jim Meyering
2004-06-21(main): Don't segfault when calculating theJim Meyering
expected number of operands for `mknod NAME'.
2004-06-21Adjust to new diagnostics.Jim Meyering
2004-06-21.Jim Meyering
2004-06-21(main): Standardize on the diagnostics given when someone givesJim Meyering
too few operands ("missing operand after `xxx'") or too many operands ("extra operand `xxx'"). Include "quote.h" and/or "error.h" if it wasn't already being included.
2004-06-21Standardize on the diagnostics given when someone givesJim Meyering
too few operands ("missing operand after `xxx'") or too many operands ("extra operand `xxx'"). Include "quote.h" and/or "error.h" if it wasn't already being included. (do_copy): Likewise.
2004-06-21Standardize on the diagnostics given when someone givesJim Meyering
too few operands ("missing operand after `xxx'") or too many operands ("extra operand `xxx'"). Include "quote.h" and/or "error.h" if it wasn't already being included. (add_file_name, main): Likewise.
2004-06-21Standardize on the diagnostics given when someone givesJim Meyering
too few operands ("missing operand after `xxx'") or too many operands ("extra operand `xxx'"). Include "quote.h" and/or "error.h" if it wasn't already being included. (beyond, main): Likewise.
2004-06-20(input_seek_errno): Declare file-scoped variable as static.Jim Meyering
2004-06-20.Jim Meyering
2004-06-20*** empty log message ***Jim Meyering
2004-06-20Remove declaration of yesno.Jim Meyering
Instead, include yesno.h.
2004-06-20(obstack_base): Cast to (void *), per documentation.Jim Meyering
2004-06-20Include yesno.h.Jim Meyering
(top_dir): Remove now-unnecessary cast of obstack_base. (pop_dir): Likewise. (full_filename_): Likewise.
2004-06-20*** empty log message ***Jim Meyering
2004-06-20*** empty log message ***Jim Meyering
2004-06-20(libfetish_a_SOURCES): Add yesno.h.Jim Meyering
2004-06-20*** empty log message ***Jim Meyering
2004-06-20Include "yesno.h".Jim Meyering
2004-06-20*** empty log message ***Jim Meyering
2004-06-20*** empty log message ***Jim Meyering
2004-06-20Don't dump core if ctime returns NULL; this is possible onJim Meyering
hosts with 64-bit time_t and 32-bit int. Include "inttostr.h". (time_string): New function, copied from who.c. (print_entry): Use it.
2004-06-20Don't dump core if ctime returns NULL; this is possible onJim Meyering
hosts with 64-bit time_t and 32-bit int. Include "inttostr.h". (time_string): If ctime fails, print the raw time as an integer instead of dumping core.
2004-06-20*** empty log message ***Jim Meyering
2004-06-20(print_line): Don't truncate user names at 8 bytes.Jim Meyering
Problem reported by Guido Leenders in: http://lists.gnu.org/archive/html/bug-coreutils/2004-06/msg00056.html
2004-06-19*** empty log message ***Jim Meyering
2004-06-19Remove all S_IS* and S_IF* definitions.Jim Meyering
Instead, just include "stat-macros.h".
2004-06-19Remove all S_IS* and S_IF* definitions.Jim Meyering
Instead, just include "stat-macros.h".
2004-06-19Remove all S_IS* and S_IF* definitions.Jim Meyering
Instead, just include "stat-macros.h".
2004-06-19Remove all S_IS* and S_IF* definitions.Jim Meyering
Instead, just include "stat-macros.h".
2004-06-19Remove all S_IS* and S_IF* definitions.Jim Meyering
Instead, just include "stat-macros.h".
2004-06-19*** empty log message ***Jim Meyering