summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* (CPPFLAGS, DEFS, CFLAGS, LDFLAGS, prefix, exec_prefix): Default toPaul Eggert1994-09-121-22/+28
| | | | | | | | | autoconf-specified strings. (COMPILE): Use the defaults. (srcs): Add memcmp.c. (distfiles): Rename config.h.in to config.hin and install.sh to install-sh. (Makefile, config.h, config.hin, config.status): Rework for compatibility with Autoconf 2.
* Add memchr.c, waitpid.c, install.shPaul Eggert1994-09-081-1/+1
|
* (srcs): Add memchr.c, waitpid.cPaul Eggert1994-09-081-1/+1
|
* Revamp for Autoconf 2.Paul Eggert1994-09-081-6/+7
|
* (memchr, waitpid): Remove; use new substitutes instead.Paul Eggert1994-09-081-25/+0
|
* Use Autoconf 2 style HAVE_DIRENT_H etc. macros for directories.Paul Eggert1994-09-081-15/+14
|
* (try_help): New function.Paul Eggert1994-09-081-62/+43
| | | | | (usage): Just print usage; let caller worry about exiting. (memchr, waitpid): Remove; use new substitutes instead.
* (dir_sort): Prefer NAMLEN (p) to strlen (p->d_name).Paul Eggert1994-09-081-3/+2
| | | | Change VOID_CLOSEDIR to CLOSEDIR_VOID for Autoconf 2.
* (try_help, check_stdout): New functions.Paul Eggert1994-09-081-32/+52
| | | | | (usage): Just print usage; let caller worry about exiting. (read_diff): Use new waitpid substitute.
* (try_help, check_stdout): New functions.Paul Eggert1994-09-081-39/+111
| | | | | | (usage): Just print usage; let caller worry about exiting. (option_help): New variable. (filetype): Add Posix.1b file types.
* (try_help, check_stdout): New functions.Paul Eggert1994-09-081-26/+40
| | | | (usage): Just print usage; let caller worry about exiting.
* *** empty log message ***Paul Eggert1994-09-081-1/+1
|
* (diff_o, diff3_o, sdiff_o): Add $(LIBOBJS).Paul Eggert1994-09-081-4/+4
|
* *** empty log message ***Paul Eggert1994-09-031-0/+5
|
* (distfiles): Add install.sh.Paul Eggert1994-09-031-1/+1
|
* Switch to new autoconf naming convention. Add test for sys/file.h.Paul Eggert1994-09-031-14/+14
|
* (main): Call initialize_main first.Paul Eggert1994-09-021-15/+80
| | | | | | | If we'll have children, make sure SIGCHLD isn't ignored. (read_diff): Use popen+pclose if !HAVE_FORK. (DIFF_CHUNK_SIZE): Removed. We now get initial chunk size from STAT_BLOCKSIZE. (INT_STRLEN_BOUND): New macro.
* (ck_fdopen): Function removed.Paul Eggert1994-09-021-62/+119
| | | | | | | | | | | (cleanup, main, waitpid): Use popen+pclose if !HAVE_FORK. (edit): Use system if !HAVE_FORK. (main): Call initialize_main first. (execdiff): Now assumes caller has pushed all args, plus trailing 0. All callers changed. (trapsigs): If we'll have children, make sure SIGCHLD isn't ignored. (private_tempnam): Try TMP if TMPDIR isn't defined. Fit temporary filenames into 8.3 limit.
* Include <sys/file.h> only if HAVE_SYS_FILE_H.Paul Eggert1994-09-021-11/+43
| | | | | | | | (S_IXGRP, S_IXOTH, S_IXUSR): Remove unused macros. (STAT_BLOCKSIZE): Don't define if already defined. (min, max): Undef if already defined. (filename_cmp, filename_lastdirchar, HAVE_FORK, HAVE_SETMODE, initialize_main O_BINARY, same_file): New macros, for porting to non-Posix systems like DOS.
* (binary_I_O): New variable for --binary option.Paul Eggert1994-09-021-11/+40
| | | | | | | | | (main, usage, compare_files): Support --binary option. (main): Call initialize_main first. If we'll have children, make sure SIGCHLD isn't ignored. (compare_files): Use filename_cmp to compare file names. Use filename_lastdirchar to find last directory char in a file name. Use same_file to determine whether two files are the same.
* (begin_output): Use popen+pclose if !HAVE_FORK. Check fdopen status.Paul Eggert1994-09-021-4/+33
|
* (sip): If HAVE_SETMODE, always test for binary files using binary mode.Paul Eggert1994-09-021-6/+17
|
* (print_context_label): Check whether (broken) ctime yields 0.Paul Eggert1994-09-021-4/+8
|
* *** empty log message ***Paul Eggert1994-09-011-2/+19
|
* (distclean): Clean config.cache, config.log (for new autoconf).Paul Eggert1994-09-011-2/+2
|
* (main): Call initialize_main first.Paul Eggert1994-09-011-7/+6
| | | | | Use filename_cmp to compare file names. Use same_file to determine whether two files are the same.
* (compare_names, diff_dirs): Use filename_cmp to compare file names.Paul Eggert1994-09-011-5/+6
|
* (format_group, groups_letter_value): Use * instead of [] in prototypes.Paul Eggert1994-09-011-5/+5
|
* (info, dvi, diff.dvi): New targets.David MacKenzie1994-06-171-2/+10
| | | | (clean): Remove TeX output files.
* (word): Change from typedef to #define, to avoid collision withPaul Eggert1994-06-172-2/+2
| | | | Unicos 8.0 <sys/types.h>, which also typedefs `word'.
* (print_number_range): Don't rely on promotion to make the old-style parameterPaul Eggert1994-04-151-1/+1
| | | | | type agree with the prototype parameter type; this doesn't work on Apollos running bsd4.3.
* (scan_diff_line): Don't rely on promotion to make the old-style parameterPaul Eggert1994-04-151-2/+2
| | | | | type agree with the prototype parameter type; this doesn't work on Apollos running bsd4.3.
* *** empty log message ***Paul Eggert1994-04-151-5/+5
|
* (LDFLAGS): Remove -g. All users changed to use $(CFLAGS) as wellPaul Eggert1994-01-031-5/+5
| | | | as $(LDFLAGS).
* diffutils 2.6Paul Eggert1993-12-131-3/+3
|
* (main): allow -p -u.Paul Eggert1993-12-031-1/+5
|
* *** empty log message ***Paul Eggert1993-12-031-3/+4
|
* (distclean): Remove config.h.Paul Eggert1993-11-231-1/+1
|
* (AC_HAVE_HEADERS): Add unistd.h; remove AC_UNISTD_H.Paul Eggert1993-11-101-2/+1
|
* *** empty log message ***Paul Eggert1993-11-101-0/+9
|
* (xmalloc, xrealloc): "virtual memory" -> "memory"Paul Eggert1993-11-101-2/+2
|
* (usage): Send usage to stdout, not stderr.Paul Eggert1993-11-101-23/+21
| | | | | (long_options, main, usage): Add `--help'. (main): Send version number to stdout, not stderr. Exit afterwards.
* (word): Change to `int'; it makes a big difference on x86.Paul Eggert1993-11-101-22/+22
| | | | | | | (sip, slurp): Put off allocating room to hold the whole file until we have to read the whole file. This wins if the file turns out to be binary. (primes): Omit large primes if INT_MAX is small.
* (usage): Send usage to stdout, not stderr.Paul Eggert1993-11-101-15/+27
| | | | | (long_options, main, usage): Add `--help'. (read_diff): Detect integer overflow in buffer size calculations.
* (long_options, main, usage): Add `--help'.Paul Eggert1993-11-101-17/+24
| | | | | | (main): Send version number to stdout, not stderr. (usage): Send usage to stdout, not stderr. (compare_files): Initialize `inf' properly.
* (word): New type. All uses of `long' for word-at-a-time comparisonsPaul Eggert1993-11-101-43/+47
| | | | | | | changed to `word'. (long_options, main, usage): Add `--help'. (usage): Send usage to stdout, not stderr. (main): Add `-v'. Send version number to stdout, not stderr.
* (too_expensive): New variable, for heuristic to limit the worst-casePaul Eggert1993-11-101-121/+245
| | | | | | | | | | | | | cost to O(N**1.5 log N) at the price of producing suboptimal output for large inputs with many differences. (diff_2_files): Initialize it. (struct partition): New type. (SNAKE_LIMIT): New macro; merely documents already-used number 20. (diag): New `minimal' arg; all callers changed. Put results into struct partition. Apply `too_expensive' heuristic. Tune. (compareseq): New `minimal' arg; all callers changed. Tune. (shift_boundaries): Improve heuristic to also coalesce adjacent runs of changes more often.
* Initial revisionPaul Eggert1993-11-101-0/+3898
|
* GNU diffutils 2.6Paul Eggert1993-11-101-0/+5
|
* (memchr): Make first arg char const *Paul Eggert1993-09-271-4/+4
| | | | | | to match standard. (xmalloc, xrealloc): Cast malloc, realloc to (VOID *) to suppress bogus warnings on some nonstandard hosts.