summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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.
1996-05-15(print_stats): Restructure pluralization of error message so it's easierJim Meyering
to translate.
1996-05-15(main): Restructure pluralization of error message so it's easier to translate.Jim Meyering
1996-05-06(main): Use fputs, not puts. Avoids spurious newline.Jim Meyering
1996-05-05Look for SYSTEM_FILE, not USER_FILE in SHAREDIR.Jim Meyering
1996-05-05Make enumerated constants upper case.Jim Meyering
(main): Don't rely on ANSI-style string concatenation. Add `static' and/or `const' to some file scope variables.
1996-05-05Remove useless void casts of *printf return values.Jim Meyering
1996-05-05[IN_CTYPE_DOMAIN]: Rename from ISASCII.Jim Meyering
1996-05-02.Jim Meyering
1996-05-02(parse_ls_color, usage): Remove support for alternate spellings:Jim Meyering
--colours and LS_COLOURS. (parse_ls_color): Reverse sense of test for LS_COLORS environment variable and return -- save a level of indentation on a 100+-line block.
1996-05-01(parse_ls_color, usage): Remove support for alternate spellings:Jim Meyering
--colours and LS_COLOURS.
1996-04-30(usage): Change TAB in message to spaces. Doing that seemsJim Meyering
to have worked around a problem with something in gettext that was producing a truncated usage message for date's usage. François Pinard.
1996-04-30(main): Separate messages about `too few' and `too many'Jim Meyering
arguments to ease translation. From Franc,ois.