summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2001-08-06(copy_internal): Set *rename_succeeded, so thatJim Meyering
the caller (mv) doesn't remove the source file.
2001-08-06(usage): Correct the description of --update.Jim Meyering
2001-08-04(quote_name): Pass 0 to mbsnwidth, since the defaultJim Meyering
got changed and we want the default now.
2001-07-15Include "unlocked-io.h", rather than hard-coding the HAVE_*_UNLOCKED macros.Jim Meyering
2001-07-08revert unrelated part of last delta -- coming soon with a separate log entryJim Meyering
2001-07-08(usage): Reformat so help2man generates a properly indented man page.Jim Meyering
2001-07-08(get_dest_mode): Clear set-user-ID and set-group-ID bitsJim Meyering
when copying (i.e., not in move mode) and not preserving permissions.
2001-07-02(do_link): Test the boolean symbolic_link, not the function, symlink.Jim Meyering
Patch by Frederik Eaton.
2001-07-01(usage): Suggest setting LC_COLLATE=C, rather than LC_ALL=C.Jim Meyering
2001-06-16(main): Recheck global print_with_color after callingJim Meyering
parse_ls_color, since that function may have reset it. Based on a patch from Richard Dawe.
2001-06-16(print_long_format): Don't truncate user namesJim Meyering
or group names that are longer than 8 characters.
2001-06-09Add options to make `who' more POSIX compliant.Jim Meyering
Accept new options: --all (-a), --boot (-b), --dead (-d), --login, --process (-p), --runlevel (-r), --short (-s), --time (-t), --users (-u). The -u option now produces POSIX-specified results and is the same as the long option `--users'. --idle is no longer the same as -u. (time_string, print_line, print_boottime, print_deadprocs, print_login, print_initspawn, print_clockchange, print_runlevel): New functions. (print_user): Renamed from print_entry and reworked. (search_entries): Remove function. (who_am_i): Likewise. (usage): Describe new options. (main): Handle new options. Mostly from Michael Stone.
2001-05-27(main): Add `const' to declaration of local, `result'.Jim Meyering
2001-05-24Update from master source.Jim Meyering
2001-05-24Use `#if D_TYPE_IN_DIRENT && defined DTTOIF' toJim Meyering
determine whether to enable the DT_INIT definition, not the less portable `#if defined _DIRENT_HAVE_D_TYPE || defined DTTOIF'. Reported by Eli Zaretskii.
2001-05-24(main): Remove quotes around %s.Jim Meyering
The argument is already quoted via the quote function.
2001-05-20Include "hard-locale.h".Jim Meyering
(nstrftime): New decl. (enum time_style): New enum. (time_style_args, time_style_types): New constants. (full_time): Remove. (long_time_format): Initialize to POSIX defaults. (TIME_STYLE_OPTION): New constant. (long_options, decode_switches, usage): Add --time-style support. (long_time_expected_width): Use nstrftime, not strftime. (print_long_format): Likewise. Increase initial size to match new full-iso time style.
2001-05-20(parse_obsolescent_option): Accept a b suffix.Jim Meyering
2001-05-20Rename new option values: s/all/precede/ and s/minimum/separate/.Jim Meyering
2001-05-19(delimit_method_map): Remove trailing comma.Jim Meyering
2001-05-19Support new modes for uniq's --all-repeated option.Jim Meyering
The default behavior is unchanged. Include argmatch.h. (usage): Update. (check_file): Implement it. (main): Handle new, optional arguments. Patch by Padraig Brady.
2001-05-15(parse_obsolescent_option): Use t_count_lines, notJim Meyering
count_lines, in error message.
2001-05-15(struct fileinfo.linkmode): Now st_mode.Jim Meyering
(print_color_indicator, print_name_with_quoting, print_type_indicator, length_of_file_name_and_frills): Use mode_t, not unsigned int, to store modes. (dired_dump_obstack): Do not assume size fits in 'int'. (get_link_name): readlink returns ssize_t, not int. (make_link_path): Store buffer size as size_t, not int. (print_long_format): Use unsigned long, not unsigned, to print nlink_t, uid_t, gid_t, major_t, minor_t.
2001-05-13(main): Check for NODEV device only if NODEV is defined.Jim Meyering
2001-05-13(NODEV): Remove, undoing previous change.Jim Meyering
2001-05-13(dir_name, dir_len): Define to different namesJim Meyering
to avoid shadowing warnings due to new declarations from dirname.h.
2001-05-13(enum Dereference_symlink): New type.Jim Meyering
(dereference): New var, replacing trace_links, which was removed. (long_options, main, decode_switches, gobble_file, usage): Implement the changes.
2001-05-13(NODEV): New macro, if not already defined.Jim Meyering
2001-05-13(main): Check for overflow when converting out of uintmax_t.Jim Meyering
Do not assume that major_t and minor_t are no wider than int. Check for makedev failures. Convert device numbers via uintmax_t, not unsigned long, just in case. Coalesce duplicate code in the block and character device cases.
2001-05-12Include "dirname.h".Jim Meyering
(base_name): Remove decl; now in dirname.h.
2001-05-12Include "dirname.h".Jim Meyering
(base_name, strip_trailing_slashes): Remove decls; now in dirname.h. (main): Use base_len instead of strip_trailing_slashes to strip trailing slashes.
2001-05-12(strip_trailing_slashes): Remove decl; now in dirname.h.Jim Meyering
(main): Use dir_len rather than dir_name_r.
2001-05-12(strip_trailing_slashes): Likewise.Jim Meyering
(find_mount_point): No need to strip trailing slashes before invoking new dir_name.
2001-05-12(strip_trailing_slashes): Remove; now in dirname.h.Jim Meyering
(make_path_private): Use dir_len instead of dir_name, and avoid an extra mealloc call.
2001-05-12(copy_internal): Remove the code that tested for NULLJim Meyering
dir_name return value. That can't happen.
2001-05-12Include "dirname.h".Jim Meyering
(strip_trailing_slashes_2): Remove; now done by strip_trailing_slashes. All callers changed.
2001-05-12(base_name): Remove decl; now in dirname.h.Jim Meyering
2001-05-12Include dirname.h, to get base_nameJim Meyering
2001-05-12include dirname.h.Jim Meyering
2001-05-12(strip_trailing_slashes): Remove declaration; now in dirname.h.Jim Meyering
2001-05-12(usage): Minor wording changes related to -o, -n, and -g.Jim Meyering
From Paul Eggert.
2001-05-12(mode_changed, change_file_mode):Jim Meyering
There's no need to invoke both lstat and stat here, so call just one of the two functions.
2001-05-11(usage): Warn about backups and mirrors.Jim Meyering
2001-05-10(main): Fix thinko: s/argv[optind]/optarg/.Jim Meyering
2001-05-05tweak diagnosticJim Meyering
2001-05-05(decode_switches): Complain if the envvar, QUOTING_STYLE,Jim Meyering
is set to an invalid value. Move some declarations of locals into scopes where they're used.
2001-05-05(print_owner): New global variable.Jim Meyering
(usage): Update the description of -g. (decode_switches): Honor the -g option (omit owner information), now that POSIX specifies it. (print_long_format): Don't print owner name if -g was specified. Move declaration of `user_name' into the scope where it's used. (print_group): Rename global from `inhibit_group'. Update all uses accordingly. (decode_switches): Make -n work just like -l, except with numeric IDs, per POSIX. Before, to have any effect, -n had to be used with -l. Reported by Dale Scheetz. (usage): Update the description of -n. Separate the descriptions of -n and --numeric-uid-gid. Split string in --help output that had exceeded my limit of 2048 bytes.
2001-05-05(usage): Correct description of -3.Jim Meyering
2001-04-29--help:Jim Meyering
downcase bulleted items remove some periods
2001-04-29(usage): Include in --help output the warning aboutJim Meyering
some of the filesystem types on which shred is not effective.