summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1997-09-15Write implementation overview.Jim Meyering
1997-09-15remove obsolete commentJim Meyering
1997-09-15tweak commentJim Meyering
1997-09-15(full_filename): Use realloc, not xrealloc.Jim Meyering
1997-09-14(equal): Use STREQ (form system.h) instead.Jim Meyering
(siginfo_handler): New function to handle SIGINFO/SIGUSR1. (handle_sig): New function. (main): Use handle_sig instead of open-coding it. Handle SIGINFO (or SIGUSR1 if that's not defined). (print_stats): Move definition to precede first reference. Remove prototype.
1997-09-14Don't include signal.h.Jim Meyering
1997-09-14(main) [--traditional]: Don't give diagnostic about thereJim Meyering
being more than three arguments if there are *no* arguments specified. Reported by Jochen Hein.
1997-09-14(struct col_info) [valid_len]: Rename from `valid' which conflictedJim Meyering
with the macro in locale.h of SunOS4.1.4.
1997-09-14(print_horizontal): Add some non-essential curly braces.Jim Meyering
1997-09-14(print_many_per_line): Add some non-essential curly braces.Jim Meyering
1997-09-14s/__inline/inline/.Jim Meyering
1997-09-14(PARAMS): Define.Jim Meyering
(rm): Guard prototype in forward dcl with PARAMS.
1997-09-14merge from rm-fix branchJim Meyering
1997-09-11Add new option: --verbose (-v).Jim Meyering
From Andreas Schwab.
1997-09-02[!STDC_HEADERS]: Declare malloc.Jim Meyering
1997-09-01(do_link): Form destination file name (when DEST is a directory) beforeJim Meyering
checking whether SOURCE and DEST are the same file.
1997-09-01(main): New option --lookup (-l).Jim Meyering
(print_entry): Only call canon_host if user explicitly asks for it. (usage): Describe --lookup. From Galen Hazelwood.
1997-08-31tweak commentJim Meyering
1997-08-31(change_file_group): Call describe_change with a 3-state argument.Jim Meyering
(describe_change): Report whether the operation was successful, a failure, or that the request was a no-op. Before, running `chown --verb bin /' as non-root reported group of / changed to bin chgrp: you are not a member of group `bin': Not owner
1997-08-31(change_file_owner): Call describe_change with a 3-state argument.Jim Meyering
(describe_change): Report whether the operation was successful, a failure, or that the request was a no-op. Before, running `chown --verb bin /' as non-root reported owner of / changed to bin chown: /: Not owner
1997-08-31[!STDC_HEADERS]: Declare malloc.Jim Meyering
1997-08-31(change_file_mode): Call describe_change with a 3-state argument.Jim Meyering
(describe_change): Report whether the operation was successful, a failure, or that the request was a no-op. Before, running `chmod --verb u-r /' as non-root reported mode of / changed to 0355 (-wxr-xr-x) chmod: /: Not owner Reported by Philippe Schnoebelen <phs@hobbes.fing.edu.uy>
1997-08-18(show_date): Don't hang if strftime produces an empty string.Jim Meyering
1997-08-03s/\<_ (/_(/gJim Meyering
1997-08-03indentJim Meyering
1997-08-03.Jim Meyering
1997-07-29Add new option: --reference=FILE.Jim Meyering
1997-07-29Add new option: --reference=FILE.Jim Meyering
1997-07-29(usage): tweak -p descrJim Meyering
1997-07-29Declare pointer parameters const as appropriate.Jim Meyering
1997-07-29(main): New option --preserve-timestamps (-p).Jim Meyering
(install_file_in_file): Change timestamps if requested. (change_timestamps): New function. (usage): Describe --preserve-timestamps. Correct --mode description. From Galen Hazelwood.
1997-07-22(parse_obsolescent_option): #ifdef-out portability warning.Jim Meyering
1997-07-19(checkfp): tweak commentJim Meyering
1997-07-19(checkfp): Print the `disorder' message. Include bothJim Meyering
the number and the contents of the first out-of-order line, in addition to the file name. Change meaning of return value. (check): Don't print disorder message here. Adjust test of checkfp's return value. Feature suggestion from Karl Heuer.
1997-07-16This means that if multiple users are given on the command line, theJim Meyering
error return code is that of the last, so earlier failures can't be detected.
1997-07-16Exit with status from `id' command.Jim Meyering
Don't print `$name : $groups' if id fails. Reported by Austin Donnelly.
1997-07-13remove fixmeJim Meyering
1997-07-13Include xstrtoul.h.Jim Meyering
Remove global variable, unit_size. (atou): Remove now-unused function. (parse_unit): Likewise. (string_to_ull): New function. (head): Take new parameter, count_lines. Use it instead of unit_size. Update callers. (head_file): Likewise. (main): Use string_to_ull, not atou/parse_unit.
1997-07-13Rename lots of `this' locals.Jim Meyering
Make some parameters `const'. (who): Update read_utmp caller. (search_entries): Take additional param: utmp_buf. Update read_utmp caller. (who_am_i): Update read_utmp caller.
1997-07-13(users): Update read_utmp caller.Jim Meyering
1997-07-13(uptime): Update read_utmp caller.Jim Meyering
1997-07-13Add FIXME.Jim Meyering
indent
1997-07-13indentJim Meyering
1997-07-13indentJim Meyering
1997-07-13indentJim Meyering
1997-07-13indentJim Meyering
1997-07-13(uptime): rename users to n_usersJim Meyering
1997-07-13declare xmallocJim Meyering
(users): rename users to n_users
1997-07-13(who): rename users to n_usersJim Meyering
1997-07-13.Jim Meyering