| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
Remove version.c.
(MAINTAINERCLEANFILES, $(srcdir)/version.c): Remove.
|
|
|
|
|
| |
Add version-etc.h.
(libdiffutils_a_SOURCES): Remove freesoft.c. Add version-etc.c.
|
|
|
|
| |
(version_etc_copyright): Remove.
|
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
(defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H). It also depends
on HAVE_BTOWC.
|
| |
|
| |
|
|
|
|
| |
too.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
(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.
|
| |
|
|
|
|
| |
New option --tabsize=COLUMNS.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
(find_and_hash_each_line): New option --tabsize=COLUMNS.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
(tabsize): New decl.
(sdiff_half_width, sdiff_column2_offset): Now size_t rather than
unsigned int.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
Include paths.h.
(copyright_notice): Renamed from copyright_string.
Now a msgid, so that copyright symbol can be translated.
All uses changed.
|
| |
|
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
|
|
|
| |
bool in integer constant expression; C99 does not allow it.
|
| |
|
|
|
|
| |
(renamed from AC__GNU_SOURCE).
|
|
|
|
|
|
| |
Check for sys/resource.h, uccontext.h.
Check for decls of getcontext, sigaltstack.
Check for stack_t.
|
| |
|
|
|
|
| |
(NEW_PATTERN): Use offsetof, not sizeof, since str now has size 1.
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
| |
Sun cc. The code doesn't work with K&R anyway.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
<strings.h>: Include only if HAVE_STRINGS_H.
<stddef.h>: Include if we include stdlib.h.
Do not comment out all code if ! HAVE_FNMATCH_GNU.
(getenv): Do not declare if HAVE_DECL_GETENV.
(__strchrnul, __wcschrnul): Remove; not used.
(MEMPCPY): Use mempcpy if not _LIBC; use memcpy if neither _LIBC
nor HAVE_MEMPCPY.
(FOLD) [HANDLE_MULTIBYTE]: Do not pass wide char to ISUPPER.
(STRLEN, STRCAT, MEMPCPY) [HANDLE_MULTIBYTE && !defined _LIBC]:
Use wcslen rather than __wcslen, and likewise for wcscat, wmempcpy.
(MEMPCPY) [HANDLE_MULTIBYTE]: Use wmempcpy if not _LIBC; use wmemcpy
if neither _LIBC nor HAVE_WMEMPCPY.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(EOVERFLOW): Define if not defined.(stack_t): Define to struct sigaltstack if not defined or declared.
Include <sys/resource.h>, <ucontext.h> if available.
Include <stdio.h> if DEBUG.
Do not include <inttypes.h> or <stdint.h>.
(c_stack_die): Remove info and context args. All uses changed.
(segv_action): Likewise.
(alternate_signal_stack): Change uintmax_t to long, to ease porting.
(get_stack_location, min_address_from_argv, max_address_from_argv,
null_action): New functions.
(stack_base, stack_size): New vars.
(segv_handler): context arg may not be used.
Use global stack_base, stack_size if
! HAVE_XSI_STACK_OVERFLOW_HEURISTIC.
Add debug code.
Invoke die (rather than segv_action) to exit.
(c_stack_action): Accept new argv arg, and simpler handler arg.
All uses changed. Move code into new functions above.
Allow null action.
[! (defined SA_ONSTACK && defined _SC_PAGESIZE)]: Assume all segvs
are stack overflows.
(main) [DEBUG]: Describe what output should be like.
|
|
|
|
|
|
|
|
|
|
| |
Use @acronym instead of @sc where appropriate.
(Specified Lines): Renamed from Specified Folding.
(Comparison, Blank Lines):
Clarify wordings for Blank Lines and Specified Lines nodes.
(Binary): Mention --verbose and --print-bytes.
(Tabs, sdiff Option Summary, diff Options):
New option --tabsize=COLUMNS.
|
| |
|
|
|
|
| |
(jm_PREREQ_QUOTEARG): AM_C_PROTOTYPES -> AC_C_PROTOTYPES.
|
| |
|
| |
|
| |
|
| |
|
| |
|