summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1999-11-06(long_options): Correct typo (s/'F'/'p'/) so that `-p'Jim Meyering
works as the short form of --file-type, per the documentation. From Michael Stone.
1999-11-05Use HAVE_STRUCT_STAT_ST_BLOCKS, not deprecated HAVE_ST_BLOCKS.Jim Meyering
1999-11-05(SORTALLOC): New macro.Jim Meyering
(sortalloc, mergealloc, LINEALLOC): Use it. (sortalloc, mergealloc, linelength): Now const. (sortalloc): Increase from 0.5 to 8 MB. (mergealloc): Increase from 16 to 256 kB. (LINEALLOC): Increase from 0.25 to 4 MB.
1999-11-04(begfield, limfield, findlines, keycompare, compare):Jim Meyering
Do not consider newline to be part of a line when comparing lines in `sort' and `comm'. POSIX.2 requires that we consider newline, but this is a bug in the spec and the bug will likely be fixed.
1999-11-04(compare_files):Jim Meyering
Do not consider newline to be part of a line when comparing lines in `sort' and `comm'. POSIX.2 requires that we consider newline, but this is a bug in the spec and the bug will likely be fixed.
1999-11-03Fix so that `tail -fn 2 file' works again.Jim Meyering
(anonymous enum) [LONG_FOLLOW_OPTION]: Define. (long_options): Use LONG_FOLLOW_OPTION here, instead of 'f'. (main): Remove the `::' after the `f' in getopt_long string. Add `case LONG_FOLLOW_OPTION' after `case 'f':'. Based on a patch from Tim Waugh.
1999-11-03(anonymous enum) [RETRY_OPTION]: Define.Jim Meyering
[MAX_UNCHANGED_STATS_OPTION]: Likewise. [MAX_CONSECUTIVE_SIZE_CHANGES_OPTION]: Likewise. [PID_OPTION]: Likewise. (long_options): Use *_OPTION instead of CHAR_MAX + N. (main): Likewise.
1999-11-03(recheck): Don't refuse to tail a non-regular, non-pipe.Jim Meyering
(tail_file): Likewise.
1999-11-01(usage): Warn about mixing use of `-r' with FIFOs andJim Meyering
other special files like /dev/zero.
1999-10-31Convert --backup to take an optional argument.Jim Meyering
Deprecate --version-control (-V) in comments. (usage): Remove mention of --version-control. (main): Make -V warn then fall through into --backup case. [--backup case]: Handle optional arg.
1999-10-31tweak usageJim Meyering
1999-10-30(usage): Tweak --backup descriptionJim Meyering
1999-10-30Convert --backup to take an optional argument.Jim Meyering
Deprecate --version-control (-V) in comments. (usage): Remove mention of --version-control. (main): Make -V warn then fall through into --backup case. [--backup case]: Handle optional arg.
1999-10-24(do_copy): Constify `dest', and cast-away the newJim Meyering
const in assignment to new_dest.
1999-10-24add missing program_name arg to match new usage %sJim Meyering
1999-10-23label use of -V/--versin-control as a warningJim Meyering
1999-10-23(full_write): Remove unused decl.Jim Meyering
(open_maybe_create): Remove. (touch): Don't record whether the file was created; this isn't possible to do reliably and portably without race conditions. If the file was created and if amtime_now is nonzero, this change means we'll have to do another utime system call, but that's no more harmful than the previous version of this code.
1999-10-17Convert --backup to take an optional argument.Jim Meyering
Deprecate --version-control (-V) in comments. (usage): Remove mention of --version-control. (main): Make -V warn then fall through into --backup case. [--backup case]: Handle optional arg.
1999-10-17change a message and add usage(1) to another.Jim Meyering
1999-10-17Accept new option: --target-directory=DIRJim Meyering
(TARGET_DIRECTORY_OPTION): Define. (SPARSE_OPTION): Define. (usage): Describe it. (do_copy): Change meanings/names of first two parameters: use `n_files' in place of `argc - optind', and `file' instead of `argv + optind'. Add parameter, target_directory. (main): Pass new arg, target_directory.
1999-10-17don't compute isdir() of -- or an option stringJim Meyering
1999-10-17remove last `,' in enumJim Meyering
1999-10-16Convert --backup to take an optional argument.Jim Meyering
Deprecate --version-control (-V) in comments. (usage): Remove mention of --version-control. (main): Make -V warn then fall through into --backup case. [--backup case]: Handle optional arg.
1999-10-09Accept new option: --target-directory=DIRJim Meyering
(TARGET_DIRECTORY_OPTION): Define. (usage): Describe it. (main): Implement it. Make code clearer: use new variable `n_files' in place of `argc - optind'. Use `file' instead of `argv + optind'.
1999-10-04(__attribute__): Wrap with #ifndef __attribute__.Jim Meyering
1999-10-04(__attribute__): Define to empty if GCC claims toJim Meyering
be before 2.8; this is needed for OPENStep 4.2 cc. Also, define to empty if strict ANSI.
1999-10-03(TARGET_DIRECTORY_OPTION): Define.Jim Meyering
(usage): Describe it. (main): Implement it. Remove unused variable, stdin_tty. Make code clearer: use new variable `n_files' in place of `argc - optind'. Use `file' instead of `argv + optind'.
1999-09-28Do s/#ifdef HAVE_/#if HAVE_/ -- solely for aesthetics.Jim Meyering
Do the same for other config.h macros like CLOSEDIR_VOID and MAJOR_*.
1999-09-28Do s/#ifdef HAVE_/#if HAVE_/ -- solely for aesthetics.Jim Meyering
1999-09-19(siginfo_handler): Mark parameter with ATTRIBUTE_UNUSED.Jim Meyering
Change lots of count and index variables to be of unsigned type. (dd_copy): Add new unsigned variable, n_bytes_read, in place of many uses of `nread'.
1999-09-19(__attribute__): Define.Jim Meyering
(ATTRIBUTE_NORETURN): Remove #else clause. (ATTRIBUTE_UNUSED): Define.
1999-09-09(usage): Remove misleading sentence in --help output.Jim Meyering
From Karl Heuer.
1999-09-08Remove declaration of xstrdup.Jim Meyering
1999-09-02Remove xstrdup declaration.Jim Meyering
1999-09-02Remove xstrdup declaration.Jim Meyering
1999-09-02Remove xstrdup declaration.Jim Meyering
1999-09-02Remove xstrdup declaration.Jim Meyering
1999-09-01Remove declaration of xstrdup.Jim Meyering
1999-08-31Add .rpm, .png, and .fli.Jim Meyering
From Andres Soolo.
1999-08-30(longopts): Restore accidentally-removed entry for `--portability' long option.Jim Meyering
1999-08-30(usage): Correct --help message.Jim Meyering
1999-08-30split a long line.Jim Meyering
1999-08-30(usage): Correct --help message.Jim Meyering
1999-08-30(usage): Correct --help message.Jim Meyering
1999-08-30(usage): Correct --help message.Jim Meyering
1999-08-30(usage): Correct --help message.Jim Meyering
1999-08-30(usage): Correct --help message.Jim Meyering
1999-08-30(usage): Correct --help message.Jim Meyering
1999-08-29(main): Call exit explicitly to avoid warning from gcc.Jim Meyering
Include "xstrtol.h". (isinteger): Remove function and prototype. (main): Use xstrtol in place of atoi. Remove associated FIXME comments.
1999-08-29(isinteger): Move definition to precede use. Remove prototype.Jim Meyering