| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
(XGETTEXT): Restore from pre-2004-04-12 version. This fixes
a bug that lost many msgids in doc/diffutils.pot.
(AC_INIT): Version 2.8.7.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(AC_CONFIG_MACRO_DIR): Add call, specifying "m4".
(AC_CONFIG_HEADER): Replaces AM_CONFIG_HEADER.
(gl_USE_SYSTEM_EXTENSIONS): Replaces AC_GNU_SOURCE.
(AC_ISC_POSIX): Remove; nobody ports to ancient ISC any more.
(AC_PROG_CPP, AC_PROG_INSTALL, AC_C_INLINE,
AC_HEADER_STDBOOL, AC_HEADER_STDC, AM_GNU_GETTEXT, XGETTEXT,
AC_HEADER_STAT, AC_FUNC_VPRINTF, jm_FUNC_GLIBC_UNLOCKED_IO,
jm_FUNC_GNU_STRFTIME, jm_FUNC_MALLOC, jm_FUNC_REALLOC,
jm_PREREQ_C_STACK, jm_PREREQ_ERROR, jm_PREREQ_HARD_LOCALE,
jm_PREREQ_QUOTEARG, jm_PREREQ_REGEX, AC_FUNC_FNMATCH_GNU, jm_AC_DOS):
Remove; not needed here, as our files don't use them directly
or we rely on gnulib modules.
(AC_C_CONST): Remove; we assume C89 now.
(AC_CHECK_HEADERS): Remove libintl.h, limits.h, stdlib.h, string.h,
time.h.
(AC_CHECK_TYPE): Remove ptrdiff_t, ssize_t.
(AC_CHECK_FUNCS): Remove diraccess, strchr, strerror, tmpnam).
(AC_REPLACE_FUNCS): Remove memchr, mkstemp, strcasecmp.
(GNULIB_AUTOCONF_SNIPPET): Add call. This replaces much of
the above.
(AC_CONFIG_FILES): Remove lib/posix/Makefile.
|
| |
|
|
|
|
| |
--help" for special "configure" options. Suggest latest libiconv. Update version numbers of Autoconf etc. to current.
|
| |
|
|
|
|
|
|
| |
(lines_differ): Don't convert char * to unsigned char *;
just leave pointers as char *. This lessens the number of
potentially-dangerous casts.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(S_IXUSR, S_IXGRP, S_IXOTH): Remove.
Include <time.h> unconditionally, since we can assume C89 now.
Likewise for <stdlib.h>, <string.h>.
(getenv, EXIT_SUCCESS, EXIT_FAILURE, SSIZE_MAX, strchr, strrchr,
memcmp, memcpy): Remove decl; no longer needed.
(strcasecoll, strcasecmp): Define if not built in.
(CTYPE_DOMAIN, ISPRINT, ISSPACE, TOLOWER, _tolower, errno): Remove;
we now assume C89 or better. All uses changed.
Include <stdbool.h> unconditionally now, since gnulib supports it
if the C compiler doesn't. All boolean uses of 0 and 1 now
changed to false and true.
(lin_is_printable_as_long_int): Renamed from lin_is_printable_as_long.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
(main): Adjust to latest gnulib c_stack_action calling conventions.
Adjust to latest version_etc calling conventions.
Include <unlocked-io.h>, <exit.h>.
(check_child_status): Renamed from ck_editor_status, and
accept a new arg MAX_OK_STATUS. All callers changed.
Handle status 126/127 as per POSIX.
(edit): Likewise.
(main): Likewise. Fix getopt typo: -E wasn't supported.
|
|
|
|
|
|
| |
(find_and_hash_each_line): Don't convert char *
to unsigned char *; just leave pointers as char *. This
lessens the number of potentially-dangerous casts.
|
|
|
|
|
|
| |
(next_line0, next_line1): New vars.
(print_ifdef_script, print_ifdef_hunk):
Use them to fix line-number computation bug.
|
| |
|
|
|
|
|
|
|
|
| |
(failed_locale_specific_sorting): Renamed from failed_strcoll.
All uses changed.
(compare_names): Don't invoke strcasecmp first thing when
ignore_file_name_case; if locale_specific_sorting, we should
just use that.
|
|
|
|
|
|
|
|
|
|
|
|
| |
(main): Adjust to latest gnulib c_stack_action calling conventions.
Adjust to latest version_etc calling conventions.
Include unlocked-io.h.
(strip_trailing_cr): New var.
(STRIP_TRAILING_CR_OPTION): New enum.
(longopts, main, option_help_msgid, read_diff):
Add --strip-trailing-cr support.
(read_diff): Exit with status 126 (not 127) if errno != ENOENT
after failed execvp in child. Report this in parent.
|
|
|
|
|
|
| |
(struct file_data.changed): Now char *, not bool *, to save
space on hosts where bool takes more space than char.
All uses changed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(option_help_msgid): Mention exit status.
(main): Adjust to latest gnulib c_stack_action calling conventions.
Adjust to latest version_etc calling conventions.
Include <exit.h>.
(binary): Define to true if not declared.
(longopts): Set tabsize flag to 1.
(main): Don't output nanoseconds if platform lacks them.
Don't treat files as binary if !binary.
(set_mtime_to_now): Use 0, not NULL.
(compare_files): Mark files as nonexistent if it looks like
'patch' created inaccessible regular empty files to denote
nonexistent backups. Don't compare such files.
Clear st_* members of status of nonexistent file.
Remove now-unnecessary tests.
|
| |
|
|
|
|
|
|
|
|
| |
(specify_comparison_type): Don't report an error if the comparison
type has already been specified the same way as this one.
(usage): Mention exit status.
(main): Adjust to latest gnulib c_stack_action calling conventions.
(main): Adjust to latest version_etc calling conventions.
|
|
|
|
|
|
|
|
|
| |
(EXTRA_DIST, noinst_HEADERS): Remove most entries.
(libdiffutils_a_SOURCES): Now just lib_SOURCES.
(lib_SOURCES): New macro.
(DISTCLEANFILES, MOSTLYCLEANFILES): Set to empty now.
(gnulib.mk): Include: this does most of the work eliminated
by the above changes.
|
| |
|
|
|
|
|
|
| |
(set_binary_mode): Define only if HAVE_SETMODE_DOS.
Otherwise define a dummy static char, as C89 requires
that we define something.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
manipulation" from "GNU packages".
(Translations): New node.
(Overview): Improve quality of algorithm citations.
(Binary): -q doesn't exactly cause diff to assume files are binary.
(Normal): Place after Side by Side, since it's less important.
(Detailed Context, Detailed Unified, Detailed ed,
Detailed if-then-else, diff3 Hunks, Detailed diff3 Normal):
Place at end of menu.
(Detailed Unified): Mention that fractional timestamps are
omitted on hosts that don't support them.
Mention what happens when hunks contain just one line.
(Line Group Formats, Reject Names): Fix duplicate-word typos.
(Comparing Directories): Trailing white space and empty lines are
ignored in the -X file.
(diff Options): Add --strip-trailing-cr.
(Projects): gnu -> gvc@gnu.org.
|
|
|
|
|
|
|
|
|
|
|
| |
value wasn't needed. All callers changed.
(diag, diff_2_files):
Use 'true' and 'false' instead of '1' and '0', when appropriate.
(compareseq): Use lin const * local variables instead of lin *.
Don't bother checking diag's return value.
(shift_boundaries, build_reverse_script, build_script, diff_2_files):
Use char arrays, not bool arrays, since
sizeof (bool) might be greater than 1.
|
| |
|
| |
|
| |
|
|
|
|
| |
since we don't need to use '-ise' in Britain, says the OED.
|
|
|
|
|
|
|
| |
Rename from (misspelled) diff3.$(OBJECT), diff.$(OBJECT), sdiff.$(OBJECT).
Patch by Paul D. Smith in
<http://mail.gnu.org/pipermail/bug-gnu-utils/2002-October/003251.html>.
Bug reported by Chris Bainbridge.
|
|
|
|
|
|
|
| |
(paths.h): Send output to paths.ht first, and then rename to
paths.h at the end. This avoids problems if the disk is full.
It also works around what appears to be a bug with GNU make -j
(3.79.1); see <http://bugs.gentoo.org/show_bug.cgi?id=8934>.
|
|
|
|
|
| |
(INT_STRLEN_BOUND): Don't use TYPE_SIGNED; that way, the macro works
for either a type or an object.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
of the files may not be a binary file.
Bug reported by Dan Jacobson.
|
|
|
|
|
| |
Do not assume SA_SIGINFO behavior.
Bug reported by Jim Meyering on NetBSD 1.5.2.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
(copyright_notice): Remove.
(main): Use version_etc to print version.
(version_string): Remove decl.
|
|
|
|
| |
Add lib/file-type.c, lib/version-etc.c, lib/xmalloc.c.
|
| |
|
|
|
|
|
| |
(copyright_notice): Remove.
(main): Use version_etc to print version.
|