summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1996-06-25(dc_parse_stream): Remove spurious newline in error message.Jim Meyering
(dc_parse_file): Remove erroneous test of ERR.
1996-06-24Use an obstack to accumulate value of LS_COLORS.Jim Meyering
1996-06-24.Jim Meyering
1996-06-23Add comma after e.g. in comment.Jim Meyering
From Karl B.
1996-06-23* (parse_line): Rewrite to avoid modifying LINE.Jim Meyering
Put LINE first in parameter list. Adjust caller. (dc_parse_stream): Free KEYWD and ARG. (main): Give diagnostic for unreasonable combinations of options/arguments.
1996-06-22(main): New option --print (-p).Jim Meyering
Detect write failure. Add --bourne-shell and --c-shell aliases for --sh and --csh resp.
1996-06-22Major overhaul. No longer read from /etc/DIR_COLORS or from ~/.dircolors.Jim Meyering
Defaults are now compiled in. If you specify a file on the command line, it is used instead of the compiled-in defaults.
1996-06-19(parse_ls_color): Use STREQ here instead of strcmp(...) == 0.Jim Meyering
1996-06-19(selected_fstype, excluded_fstype, show_disk, main):Jim Meyering
Use STREQ here instead of strcmp(...) == 0.
1996-06-19(copy_reg): Cast both sides of comparison to size_t to avoid warningJim Meyering
about `comparison between signed and unsigned' from gcc -Wall.
1996-06-19(decode_switches): Correct typo in error message:Jim Meyering
enironment -> environment. From Santiago Vila Doncel <sanvila@unex.es>.
1996-06-19(decode_switches): Correct typo in error message: enironment -> environment.Jim Meyering
From Santiago Vila Doncel <sanvila@unex.es>.
1996-06-19(do_copy): Use STREQ here instead of strcmp(...) == 0.Jim Meyering
Declare pointer parameters const as appropriate.
1996-06-19(do_copy): Change message from `missing file argument' toJim Meyering
more precise `missing destination file'. From Karl Berry.
1996-06-19(STREQ): New macro.Jim Meyering
1996-06-19(do_copy): When the force and backup options have beenJim Meyering
specified and the source and destination are the same name for an existing, regular file, convert the user's command, e.g. `cp --force --backup foo foo' to `cp --force foo fooSUFFIX' where SUFFIX is determined by any version control options used. At urging of (most recently) Karl Berry.
1996-06-02Rename MO_ to SHELLTYPE_.Jim Meyering
1996-06-02Declare pointer parameters const as appropriate.Jim Meyering
1996-06-01(decode_switches): Set print_with_color in one statement.Jim Meyering
1996-06-01Rename options and internal variables to reflect change toJim Meyering
--color=WHEN where WHEN is never, always, or auto (for consistency with e.g. cp --sparse=WHEN. For at least a while, the original slackware-supported arguments `none', `force', `yes', etc will be supported but deprecated by lack of documentation. (decode_switches): Use STDOUT_FILENO instead of `1' in is_tty test. (usage): Update/add description of the --color option.
1996-05-31(main): Interpret the old-style +VALUE and -VALUEJim Meyering
options like -c VALUE and -c +VALUE (resp) when VALUE has one of the [bkm] suffix multipliers. This makes the code consistent with --help output.
1996-05-31(limfield): #ifdef-out a block of code that makesJim Meyering
GNU sort incompatible with Unix sort when a key-end spec refers to the N'th character in a field that has fewer than N characters. The POSIX spec doesn't appear to specify behavior for this case. From Karl Heuer.
1996-05-31(decode_one_format): Use %lu (not %d) printf formatsJim Meyering
corresponding to unsigned long, SIZE.
1996-05-30(decode_one_format): Take another parameter.Jim Meyering
Give a specific diagnostic for invalid format spec here rather than an overly general one from caller's caller. (decode_format_string): Update caller. (main): Don't give diagnostic here when decode_format_string fails. Remove assertions that could fail on some Crays because they don't have a two-byte type. Johan Danielsson (joda@pdc.kth.se) reported the failed assertions.
1996-05-30(docolon): Give a warning when the first characterJim Meyering
of the basic regular expression is `^'.
1996-05-30(main): Use STDIN_FILENO instead of less portable fileno (stdin).Jim Meyering
1996-05-29.Jim Meyering
1996-05-28.Jim Meyering
1996-05-28(main): Don't mark "%s" as a translatable string.Jim Meyering
From Göran Uddeborg.
1996-05-28(print_stats): Don't mark "%u %s" as a translatable string.Jim Meyering
From Göran Uddeborg (gvran@uddeborg.pp.se).
1996-05-28(main): Use STDIN_FILENO and STDOUT_FILENO instead of less portable fileno(*).Jim Meyering
1996-05-23.Jim Meyering
1996-05-23FIXME: fill this inJim Meyering
1996-05-23(usage): Make --literal (-N) description clearer.Jim Meyering
1996-05-22.Jim Meyering
1996-05-21(xgetgroups): New function, factored out ofJim Meyering
print_group_list and print_full_info. (print_group_list): Call it. (print_full_info): Call it. From Andreas Schwab: (print_group_list): When USERNAME is specified use getugroups to get the number of groups. (print_full_info): Likewise.
1996-05-20(usage): Make it a little clearer.Jim Meyering
1996-05-19Tweak indentation.Jim Meyering
1996-05-19.Jim Meyering
1996-05-19New option: --no-dereference (-h).Jim Meyering
[!MAXUID]: Define to INT_MAX. (change_file_group): Use lchown if --no-dereference (-h) was given. (usage): Update. (main): Fail if user requests --no-dereference on a system that doesn't have support for it.
1996-05-19New option: --no-dereference (-h).Jim Meyering
(change_file_owner): Use lchown if --no-dereference (-h) was given. (usage): Update. (main): Fail if user requests --no-dereference on a system that doesn't have support for it.
1996-05-18(main): Don't recognize --help, --h, --he, --version, --v, etc.Jim Meyering
if the POSIXLY_CORRECT environment variable is set.
1996-05-18(main): Don't recognize --help, --h, --he, --version, --v, etc.Jim Meyering
if the POSIXLY_CORRECT environment variable is set.
1996-05-18(main): Don't recognize --help, --h, --he, --version, --v, etc.Jim Meyering
if the POSIXLY_CORRECT environment variable is set. (docolon) [RE_SYNTAX_POSIX_BASIC]: Revert my misguided change of Mar 1.
1996-05-16Rearrange function definitions to precede respective uses to obviateJim Meyering
all forward dcls. Remove forward dcls. Declare parameters const as appropriate.
1996-05-16.Jim Meyering
1996-05-16(selected_fstype): Move definition to precede use.Jim Meyering
Remove prototype. Declare parameter FSTYPE to be const. (excluded_fstype): Likewise. (main): Fail with a diagnostic if both --human-readable and --portability are used. Likewise if --megabytes and --portability are used.
1996-05-16(do_link): Declare pointer parameters to be const.Jim Meyering
1996-05-16(describe_change): Declare pointer parameters to be const.Jim Meyering
(change_file_mode): Likewise. (change_dir_mode): Likewise.
1996-05-15(md5_t_stats): Restructure pluralization of error message so it's easierJim Meyering
to translate.