| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
(usage): Just print usage; let caller worry about exiting.
(memchr, waitpid): Remove; use new substitutes instead.
|
|
|
|
| |
Change VOID_CLOSEDIR to CLOSEDIR_VOID for Autoconf 2.
|
|
|
|
|
| |
(usage): Just print usage; let caller worry about exiting.
(read_diff): Use new waitpid substitute.
|
|
|
|
|
|
| |
(usage): Just print usage; let caller worry about exiting.
(option_help): New variable.
(filetype): Add Posix.1b file types.
|
|
|
|
| |
(usage): Just print usage; let caller worry about exiting.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Use filename_cmp to compare file names.
Use same_file to determine whether two files are the same.
|
| |
|
| |
|
|
|
|
| |
(clean): Remove TeX output files.
|
|
|
|
| |
Unicos 8.0 <sys/types.h>, which also typedefs `word'.
|
|
|
|
|
| |
type agree with the prototype parameter type; this doesn't work on
Apollos running bsd4.3.
|
|
|
|
|
| |
type agree with the prototype parameter type; this doesn't work on
Apollos running bsd4.3.
|
| |
|
|
|
|
| |
as $(LDFLAGS).
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
(long_options, main, usage): Add `--help'.
(main): Send version number to stdout, not stderr. Exit afterwards.
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
| |
(long_options, main, usage): Add `--help'.
(read_diff): Detect integer overflow in buffer size calculations.
|
|
|
|
|
|
| |
(main): Send version number to stdout, not stderr.
(usage): Send usage to stdout, not stderr.
(compare_files): Initialize `inf' properly.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
| |
to match standard.
(xmalloc, xrealloc): Cast malloc, realloc
to (VOID *) to suppress bogus warnings on some nonstandard hosts.
|