summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1996-04-24[HAVE_LCHOWN]: Define chown to lchown.Jim Meyering
1996-04-24[HAVE_LCHOWN]: Define chown to lchown.Jim Meyering
1996-04-24[HAVE_LCHOWN]: Define chown to lchown.Jim Meyering
1996-04-24(main): Declare to return int, not void.Jim Meyering
1996-04-24(main): Declare to return int, not void.Jim Meyering
1996-04-24(usage): Add missing close paren and open paren.Jim Meyering
1996-04-22(usage): Use FIRST, LAST consistently in description.Jim Meyering
1996-04-22(usage): Describe new %V format.Jim Meyering
1996-04-22(usage): Reflect that now --no-sync is the default.Jim Meyering
1996-04-22(md5_check): Remove spurious `\n' at end of error format string.Jim Meyering
1996-04-21(decode_one_format): Use printf's L modifier for long doubles,Jim Meyering
not `l'. From Eric Backus.
1996-04-21Include <values.h>.Jim Meyering
[!BITSPERBYTE]: Define. [OFF_T_MAX]: Use BITSPERBYTE, not 8, and cast the result to off_t.
1996-04-21Include xstrtol.h.Jim Meyering
[!BITSPERBYTE]: Define. [!UID_T_MAX]: Define. [!GID_T_MAX]: Define. (get_ids): Use xstrtol, not atoi. (is_number): Remove now-unused function.
1996-04-21Remove obsolete FIXME.Jim Meyering
1996-04-21(decode_switches): Replace two more atoi uses with xstrtol.Jim Meyering
1996-04-21(decode_switches): Use getenv (POSIXLY_CORRECT), not undefined posix_pedantic.Jim Meyering
1996-04-21(decode_switches): Clean up last change.Jim Meyering
[posix_pedantic]: Don't consider TABSIZE environment variable.
1996-04-21(decode_switches): Use xstrtol, not atoi.Jim Meyering
Detect and ignore invalid value for COLUMNS environment variable. In error about invalid TABSIZE, don't reference optarg!
1996-04-21(usage): Improve help message. From Karl Berry.Jim Meyering
1996-04-21(usage): Improve help message. From Karl Berry.Jim Meyering
1996-04-21(usage): Improve help message.Jim Meyering
Enclose message strings in _(). From Karl Berry.
1996-04-20No longer call sync by default.Jim Meyering
1996-04-20(main): Make separation of case for n_files == 0 more clear.Jim Meyering
1996-04-19(copy_reg): Rearrange arithmetic in conditional to avoidJim Meyering
integer overflow with large files.
1996-04-19(main): Make code clearer: use new variable `n_files' inJim Meyering
place of `argc - optind'. Use `file' instead of `argv + optind'.
1996-04-13(usage): Add missing `\n\' at the end of newly added lines for %e and %z.Jim Meyering
1996-04-13(print_uptime): Invoke getloadavg only if we have it.Jim Meyering
1996-04-13(decode_field_spec): Rename local variable `valid'Jim Meyering
to invalid (and reverse sense) to avoid conflict with the macro definition in /usr/include/locale.h on SunOS 4.1.3.
1996-04-13(main): Add new option: --verbose.Jim Meyering
Remove long-deprecated and nowhere-documented --path, a synonym for --parents. It was confusing to get an error about `--p' being ambiguous.
1996-04-13Mark translatable strings in new code.Jim Meyering
1996-04-13(usage): Document %e and %z. Reported by Karl Berry.Jim Meyering
1996-04-11Reindent.Jim Meyering
(UT_TIME_MEMBER): New macro. (print_uptime): Use it instead of #ifdef HAVE_UTMPX_H #else. (print_entry): Likewise.
1996-04-10(print_uptime) [UPTIME]: New function. From Kaveh Ghazi.Jim Meyering
1996-04-10Add new option --ignore-case (-i).Jim Meyering
Include memcasecmp.h. (different): Compare with memcasecmp if ignoring case. (main): Handle 'i'.
1996-04-10(memcasecmp): Remove static definition of function.Jim Meyering
Include memcasecmp.h instead.
1996-04-08(print_numbers): Fix off-by-one error in backwards-counting loop.Jim Meyering
Reported by Karl Eichwalder.
1996-04-07(usage): Give minimal description of the program.Jim Meyering
(print_factors): Give a better diagnostic. (main): Suggest --help upon failure. Reported by Karl Eichwalder <ke@ke.Central.DE>.
1996-04-07.Jim Meyering
1996-04-07Fiddle with messages.Jim Meyering
1996-04-07(print_numbers): Give more precise diagnostic when incrementJim Meyering
is inconsistent with FROM and TO. (usage): Clean up help message.
1996-04-07(main): Rearrange loops to get it right.Jim Meyering
Reported by Karl Eichwalder <ke@ke.Central.DE>.
1996-04-05Remove diagnostic.Jim Meyering
1996-04-05(main): Use `if' stmt, not while loop, around getopt invocation.Jim Meyering
Otherwise, `./nice --a=1 -1 ./nice' (in which old-style option follows a long option) gets an error.
1996-04-05Patch from Frank Korz.Jim Meyering
1996-04-05Remove fixed FIXME.Jim Meyering
1996-04-04.Jim Meyering
1996-04-04The following commands all failed unnecessarily.Jim Meyering
tr -cs '[:upper:]' '[X*]' tr -dcs '[:lower:]' n-rs-z tr -ds '[:xdigit:]' [:alnum:]' tr -dcs '[:alnum:]' [:digit:]' tr -dc '[:upper:]' Reported by Ross Ridge (ross@worf.mks.com). (validate): Add missing conjunct (translating) in test for `translating and complementing character classes' error. Before, valid uses of tr could fail. E.g. `tr -dcs '[:cntrl:]' '[:alnum:]''. (homogeneous_spec_list): New function. (validate): Use it to relax the old (overly restrictive) restriction that prohibited use of complemented character classes when translating. Now, that is allowed as long as the translation maps many to one. (get_spec_stats): Rename and redefine global has_char_class from has_upper_or_lower.
1996-04-03(copy_reg): Use `ST_NBLOCKS (sb) * 512', not `sb.st_blocks *Jim Meyering
DEV_BSIZE.' From H.J. Lu (hjl@lucon.org).
1996-04-03Include assert.h (disabled).Jim Meyering
(path_concat): New function. (do_copy): Use path_concat instead of open-coding part of its functionality in two places. This has the additional benefit of avoiding forming destination names like `D//file' when the destination directory D includes a trailing slash -- as would happen when cp is used like this: mkdir D; touch file D/file; cp -i file D/ Reported by François Pinard.
1996-03-31.Jim Meyering