summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* (AM_GNU_GETTEXT_VERSION): Add.Paul Eggert2004-04-131-1/+3
| | | | | | (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.
* Initial revisionPaul Eggert2004-04-131-0/+180
|
* (AC_CONFIG_COMMANDS): Remove.Paul Eggert2004-04-121-1/+0
|
* (EXTRA_DIST): Add setmode.h.Paul Eggert2004-04-121-4/+2
|
* Use inttostr module, so we needn't worry about specifying it ourself.Paul Eggert2004-04-121-4/+3
|
* * configure.ac: Quote various arguments better.v2.8.6Paul Eggert2004-04-121-53/+16
| | | | | | | | | | | | | | | | | | | | | | | | (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.
* Initial revisionPaul Eggert2004-04-121-0/+1
|
* Move copyright notice to end. Defer to "configurePaul Eggert2004-04-121-39/+31
| | | | --help" for special "configure" options. Suggest latest libiconv. Update version numbers of Autoconf etc. to current.
* Add news for 2.8.4, 2.8.6.Paul Eggert2004-04-121-2/+26
|
* Do not include regex.h, as diff.h does this now.Paul Eggert2004-04-121-52/+49
| | | | | | (lines_differ): Don't convert char * to unsigned char *; just leave pointers as char *. This lessens the number of potentially-dangerous casts.
* (S_IRWXU, S_IRWXG, S_IRWXO): Define if not defined.Paul Eggert2004-04-121-70/+21
| | | | | | | | | | | | | | | (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.
* minor cleanups for bool, etcPaul Eggert2004-04-121-8/+8
|
* (usage): Mention exit status.Paul Eggert2004-04-121-41/+56
| | | | | | | | | | | (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.
* Do not include regex.h, as diff.h does this now.Paul Eggert2004-04-121-32/+31
| | | | | | (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_line): Remove; replace with...Paul Eggert2004-04-121-13/+19
| | | | | | (next_line0, next_line1): New vars. (print_ifdef_script, print_ifdef_hunk): Use them to fix line-number computation bug.
* int -> long intPaul Eggert2004-04-121-3/+3
|
* Include <strcase.h>.Paul Eggert2004-04-121-26/+25
| | | | | | | | (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.
* (usage): Mention exit status.Paul Eggert2004-04-121-59/+92
| | | | | | | | | | | | (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.
* Include regex.h, unlocked-io.h.Paul Eggert2004-04-121-4/+6
| | | | | | (struct file_data.changed): Now char *, not bool *, to save space on hosts where bool takes more space than char. All uses changed.
* Do not include regex.h, as diff.h does this now.Paul Eggert2004-04-121-64/+78
| | | | | | | | | | | | | | | | | (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.
* Do not include regex.h, as diff.h does this now.Paul Eggert2004-04-122-12/+11
|
* Sort includes. Include <exit.h>, <unlocked-io.h>.Paul Eggert2004-04-121-30/+37
| | | | | | | | (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.
* (SUBDIRS): Remove.Paul Eggert2004-04-121-18/+13
| | | | | | | | | (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): Return true, not 1.Paul Eggert2004-04-121-2/+2
|
* (__attribute__): New macro.Paul Eggert2004-04-121-4/+9
| | | | | | (set_binary_mode): Define only if HAVE_SETMODE_DOS. Otherwise define a dummy static char, as C89 requires that we define something.
* (dircategory): Change to "Text creation andPaul Eggert2004-04-121-298/+340
| | | | | | | | | | | | | | | | | | | 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.
* (diag): Return void, not lin, since the returnPaul Eggert2004-03-121-60/+35
| | | | | | | | | | | 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.
* (Makefile.am): Don't use $<, as it doesn't work with Solaris make.Paul Eggert2004-03-081-1/+1
|
* (AC_FUNC_SETMODE_DOS): AC_LIBOBJ(setmode) if true.Paul Eggert2004-02-091-1/+2
|
* coreutils 5.2.0Paul Eggert2004-01-121-11/+6
|
* Use a single locale for both British and American English,Paul Eggert2003-07-281-14/+3
| | | | since we don't need to use '-ise' in Britain, says the OED.
* (diff3.$(OBJEXT), diff.$(OBJEXT), sdiff.$(OBJEXT)):Paul Eggert2002-10-151-1/+1
| | | | | | | 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.
* (MOSTLYCLEANFILES): Add paths.ht.Paul Eggert2002-10-141-2/+3
| | | | | | | (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>.
* (TYPE_SIGNED): Remove.Paul Eggert2002-09-221-5/+2
| | | | | (INT_STRLEN_BOUND): Don't use TYPE_SIGNED; that way, the macro works for either a type or an object.
* (jm_FUNC_REALLOC): Define HAVE_REALLOC if realloc works.Paul Eggert2002-08-121-1/+6
|
* (jm_FUNC_MALLOC): Define HAVE_MALLOC if malloc works.Paul Eggert2002-08-121-2/+7
|
* Snapshot before syncing with gnulib again.Paul Eggert2002-08-073-65/+35
|
* Switch to GPL.Paul Eggert2002-08-041-9/+8
|
* Include sys/time.h; from Volker Borchert.Paul Eggert2002-07-011-0/+6
|
* (AC_INIT): Version 2.8.4.v2.8.4Paul Eggert2002-06-281-1/+1
|
* (briefly_report): Don't say "Binary files differ", since onePaul Eggert2002-06-281-8/+3
| | | | | of the files may not be a binary file. Bug reported by Dan Jacobson.
* (segv_handler, c_stack_action) [! defined SA_SIGINFO]:Paul Eggert2002-06-221-2/+2
| | | | | Do not assume SA_SIGINFO behavior. Bug reported by Jim Meyering on NetBSD 1.5.2.
* Version 2.8.3.v2.8.3Paul Eggert2002-06-171-0/+5
|
* Add en_US.Paul Eggert2002-06-171-1/+1
|
* Translate "Torbjorn".Paul Eggert2002-06-171-4/+15
|
* Initial revisionPaul Eggert2002-06-171-0/+37
|
* Include version-etc.h, not freesoft.h.Paul Eggert2002-06-173-32/+11
| | | | | | (copyright_notice): Remove. (main): Use version_etc to print version. (version_string): Remove decl.
* Remove lib/freesoft.c.Paul Eggert2002-06-171-1/+3
| | | | Add lib/file-type.c, lib/version-etc.c, lib/xmalloc.c.
* (version_string): Remove decl.Paul Eggert2002-06-171-3/+0
|
* Include version-etc.h, not freesoft.h.Paul Eggert2002-06-171-8/+2
| | | | | (copyright_notice): Remove. (main): Use version_etc to print version.