620 Commits

Author SHA1 Message Date
Paul Eggert
6d38b808b9 (AC_INIT): Version 2.8.4. v2.8.4 2002-06-28 07:00:15 +00:00
Paul Eggert
a352f09806 (briefly_report): Don't say "Binary files differ", since one
of the files may not be a binary file.
Bug reported by Dan Jacobson.
2002-06-28 06:58:59 +00:00
Paul Eggert
f8d4015e36 (segv_handler, c_stack_action) [! defined SA_SIGINFO]:
Do not assume SA_SIGINFO behavior.
Bug reported by Jim Meyering on NetBSD 1.5.2.
2002-06-22 13:29:17 +00:00
Paul Eggert
932176da4c Version 2.8.3. v2.8.3 2002-06-17 07:19:01 +00:00
Paul Eggert
ee74fb1947 Add en_US. 2002-06-17 07:15:20 +00:00
Paul Eggert
5ac585d8c0 Translate "Torbjorn". 2002-06-17 07:03:37 +00:00
Paul Eggert
00ec5e4806 Initial revision 2002-06-17 07:03:37 +00:00
Paul Eggert
886c533f81 Include version-etc.h, not freesoft.h.
(copyright_notice): Remove.
(main): Use version_etc to print version.
(version_string): Remove decl.
2002-06-17 06:45:46 +00:00
Paul Eggert
d6a560a408 Remove lib/freesoft.c.
Add lib/file-type.c, lib/version-etc.c, lib/xmalloc.c.
2002-06-17 06:31:13 +00:00
Paul Eggert
12e1995d93 (version_string): Remove decl. 2002-06-17 05:55:42 +00:00
Paul Eggert
e69f844815 Include version-etc.h, not freesoft.h.
(copyright_notice): Remove.
(main): Use version_etc to print version.
2002-06-17 05:55:42 +00:00
Paul Eggert
b4b207d09d (cmp_SOURCES, diff3_SOURCES, sdiff_SOURCES, diff_SOURCES):
Remove version.c.
(MAINTAINERCLEANFILES, $(srcdir)/version.c): Remove.
2002-06-17 05:55:42 +00:00
Paul Eggert
4ead5e1146 (noinst_HEADERS): Remove freesoft.h.
Add version-etc.h.
(libdiffutils_a_SOURCES): Remove freesoft.c.  Add version-etc.c.
2002-06-17 05:55:42 +00:00
Paul Eggert
b0ec6101bd (version_etc): Remove package and version args.
(version_etc_copyright): Remove.
2002-06-17 05:55:42 +00:00
Paul Eggert
cb95fdb5a3 (version_etc): Remove package and version args.
(version_etc_copyright): Remove.
Do not include unlocked-io.h; no longer needed.
Include gettext.h rather than libinto.h.
(_): Define unconditionally.
(version_etc): Adjust wording to match current GNU coding standards.
Translate "(C)" if possible.
2002-06-17 05:55:42 +00:00
Paul Eggert
0c3f74704f (Special Files): Document behavior of symlink loops. 2002-06-17 05:55:42 +00:00
Paul Eggert
588fadc48e (AC_INIT): Version 2.8.3. 2002-06-17 05:52:49 +00:00
Paul Eggert
54b2d5d20f Update to automake 1.6.2. 2002-06-17 05:52:49 +00:00
Paul Eggert
edd7dd52ff (WIDE_CHAR_SUPPORT): New macro. Use it uniformly instead of
(defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H).  It also depends
on HAVE_BTOWC.
2002-06-12 06:06:47 +00:00
Paul Eggert
4b89533a43 (readnum): Fix autoincrement typo. 2002-06-11 12:13:01 +00:00
Paul Eggert
d327549393 Check for HAVE_SIGALTSTACK and HAVE_GETCONTEXT, too. 2002-06-11 11:59:47 +00:00
Paul Eggert
faf225b9c6 Don't assume uintmax_t. Check for getcontext and sigaltstack existence,
too.
2002-06-11 11:56:33 +00:00
Paul Eggert
536f11749b Don't invoke AC_FUNC_FNMATCH_GNU with an argument. 2002-06-11 11:22:20 +00:00
Paul Eggert
94bad85d38 Trim trailing white space. 2002-06-11 11:20:13 +00:00
Paul Eggert
65dbacedda Fix trailing white space. 2002-06-11 11:18:52 +00:00
Paul Eggert
1886715b4b Translate (C). 2002-06-11 11:15:03 +00:00
Paul Eggert
1027af18b6 (finish_output): Check for ENOEXEC.
(lines_differ, output_1_line): New option --tabsize=COLUMNS.
(analyze_hunk): If -b or -w is also specified, -B now considers
lines to be empty if they contain only white space.
2002-06-11 06:06:32 +00:00
Paul Eggert
4ddc54cbc5 *** empty log message *** 2002-06-11 06:06:32 +00:00
Paul Eggert
0a49c9797c (tab_from_to, print_half_line, print_1sdiff_line):
New option --tabsize=COLUMNS.
2002-06-11 06:06:32 +00:00
Paul Eggert
d11594d813 Include <file-type.h>.
Include paths.h.
(copyright_notice): Renamed from copyright_string.
Now a msgid, so that copyright symbol can be translated.
All uses changed.
(catchsig, signal_handler, initial_action): Signal handlers return void,
not RETSIGTYPE, since we no longer support K&R.
(TABSIZE_OPTION): New constant.
(longopts, usage, main): New option --tabsize=COLUMNS.
(cleanup): New arg signo.  All uses changed.
(ck_editor_status, main, edit): Don't worry about ENOEXEC.
2002-06-11 06:06:32 +00:00
Paul Eggert
22efb75195 Include <file-type.h>.
(find_and_hash_each_line): New option --tabsize=COLUMNS.
2002-06-11 06:06:32 +00:00
Paul Eggert
1572db90e5 Include <file-type.h>.
Include paths.h.
(copyright_notice): Renamed from copyright_string.
Now a msgid, so that copyright symbol can be translated.
All uses changed.
(skipwhite, readnum): New functions.
(process_diff_control): Use them.
(SKIPWHITE, READNUM): Remove.
(read_diff): Don't worry about errno == ENOEXEC.
2002-06-11 06:06:32 +00:00
Paul Eggert
b4d2d2b865 (TAB_WIDTH): Remove.
(tabsize): New decl.
(sdiff_half_width, sdiff_column2_offset): Now size_t rather than
unsigned int.
2002-06-11 06:06:32 +00:00
Paul Eggert
208896a9c3 Include <file-type.h>.
Include paths.h.
(copyright_notice): Renamed from copyright_string.
Now a msgid, so that copyright symbol can be translated.
All uses changed.
Include posixver.h.
(TABSIZE_OPTION): New constant.
(main): Allow widths up to SIZE_MAX.
(filetype): Move to lib/file-type.c and rename to file_type.
All uses changed.
(longopts, main, usage): New option --tabsize=COLUMNS.
2002-06-11 06:06:32 +00:00
Paul Eggert
b2b34cb3be Include <file-type.h>.
Include paths.h.
(copyright_notice): Renamed from copyright_string.
Now a msgid, so that copyright symbol can be translated.
All uses changed.
2002-06-11 06:06:32 +00:00
Paul Eggert
2aab82acbe Include <file-type.h>. 2002-06-11 06:06:32 +00:00
Paul Eggert
a1ef5140b6 (noinst_HEADERS): Remove diff.h.
(DEFS): Remove.
(diff_sources): Add diff.h.
(MOSTLYCLEANFILES): New macro.
(cmp.$(OBJEXT) diff3.$(OBJECT) diff.$(OBJECT) sdiff.$(OBJECT)): Depend
on paths.h.
(paths.h): New rule.
2002-06-11 06:06:32 +00:00
Paul Eggert
5b713e8dd6 Add hu, pt_BR. 2002-06-11 06:06:32 +00:00
Paul Eggert
0d1e55b956 (AC_HEADER_STDBOOL): Do not cast pointer to
bool in integer constant expression; C99 does not allow it.
2002-06-11 06:06:32 +00:00
Paul Eggert
70c7ef8c86 (jm_PREREQ_QUOTEARG): AC_MBSTATE_T -> AC_TYPE_MBSTATE_T. 2002-06-11 06:06:32 +00:00
Paul Eggert
6756cc9358 Update to latest Autoconf CVS for AC_GNU_SOURCE
(renamed from AC__GNU_SOURCE).
2002-06-11 06:06:32 +00:00
Paul Eggert
f4468d980d (jm_PREREQ_C_STACK): Do not AC_REQUIRE jm_AC_TYPE_UINTMAX_T.
Check for sys/resource.h, uccontext.h.
Check for decls of getcontext, sigaltstack.
Check for stack_t.
2002-06-11 06:06:32 +00:00
Paul Eggert
aa5475b6b4 Include posixver.h. 2002-06-11 06:06:32 +00:00
Paul Eggert
bf641a9542 (struct patternlist.str): Size 1, not 0, as C89 requires this.
(NEW_PATTERN): Use offsetof, not sizeof, since str now has size 1.
2002-06-11 06:06:32 +00:00
Paul Eggert
229fb65871 (AC_INIT): Version 2.8.2.
(AC_GNU_SOURCE): Move up, so that it affects later compilations properly.
(DEFAULT_DIFF_PROGRAM, AC_TYPE_SIGNAL): Remove.
(jm_AC_TYPE_INTMAX_T): Add.
(AC_FUNC_FNMATCH_GNU): Use this, instead of AC_FUNC_FNMATCH.
(AC_CONFIG_LINKS): regex.hin renamed from regex_.h.
2002-06-11 05:53:54 +00:00
Paul Eggert
8578be467d Incorporate contents from INSTALLME. Upgrade to help2man 1.28. 2002-06-11 05:53:54 +00:00
Paul Eggert
d67b77f430 Version 2.8.2. 2002-06-11 05:53:54 +00:00
Paul Eggert
1fe83a59f8 (EXTRA_DIST): Remove INSTALLME. 2002-06-11 05:53:54 +00:00
Paul Eggert
bb9cc01d98 (EXTRA_DIST): Add fnmatch_loop.c.
(noinst_HEADERS): fnmatch_.h renamed from fnmatch.hin.
regex_.h renamed from regex.hin.
Add file-type.h.
(libdiffutils_a_SOURCES): Add file-type.c.
(DISTCLEANFILES): Remove fnmatch.hno, regex.hno.
2002-06-11 05:53:54 +00:00
Paul Eggert
9e4cdf9d2c (__const): Do not define to empty, as this breaks
Sun cc.  The code doesn't work with K&R anyway.
2002-06-11 05:53:54 +00:00