| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
| |
(hard_locale): Ignore ENABLE_NLS, since we want to operate on
locales other than LC_MESSAGES.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update copyright to 2002.
(Standards conformance): New chapter.
(Binary): Differing binary files are trouble unless the user asked for
brief output.
(Detailed Context): Prefer new time stamp format in discussion.
(Less Context): Likewise. (Also use short option).
(Detailed Unified): Likewise.
(Alternate Names): Separate option from arg.
(Pagination): Prefer new time stamp format in discussion.
(Making Patches): Mention -U 2.
(diff Options): Deprecate -LINES, as POSIX 1003.1-2001 does not allow it.
|
| |
|
|
|
|
|
|
| |
We no longer use a test version of gettext.
Autoconf test version updated from 2.52f to 2.52h.
POSIX 1003.1-2001 patch for Automake.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
(AC_INIT): Use new 3-arg form.
(AC_CONFIG_SRCDIR): Specify src/diff.c here, not in AC_INIT.
(ALL_LINGUAS): Remove: now in po/LINGUAS as per Gettext 0.11.
(AC_CONFIG_AUX_DIR): New macro invocation.
|
| |
|
|
|
|
| |
Reformat for imminent 2.8 release.
|
|
|
|
| |
(DISTCLEANFILES): Remove.
|
|
|
|
|
| |
(lines_differ): Have an explicit do-nothing case for
IGNORE_NO_WHITE_SPACE, to pacify gcc -Wall.
|
|
|
|
|
| |
Include gettext.h, not libgettext.h.
(N_): Do not wrap arg in parentheses. Fix from Bruno Haible.
|
|
|
|
|
|
|
|
|
|
| |
(usage): Reformat messages to ease translation.
(handler_index_of_SIGINT, handler_index_of_SIGPIPE):
New macros.
(main): Do not confuse signal numbers with their indices.
Bug reported by Bruno Haible.
(edit): Cat lin to long before printing with %ld, since lin might
be narrow than long.
|
|
|
|
| |
to avoid warnings on some compilers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(struct dirdata): New member nnames.
(locale_specific_sorting, failed_strcoll): New vars.
(dir_read): Renamed from dir_sort. Don't sort the dir.
Set new nnames member of struct dirdata. All callers changed.
(compare_names): Don't check for errno after strcasecmp.
Use strcoll only if locale_specific_sorting is nonzero.
If strcoll fails, longjmp out rather than returning a value
that might result in an invalid comparison function that might
make qsort dump core.
(diff_dirs): Sort the directory ourselves. Use setjmp to recover
from strcoll failure, falling back on native byte comparison.
Make local variables volatile if they need to preserve their value
after setjmp/longjmp.
|
|
|
|
|
| |
(usage): Reformat messages to ease translation.
(main): Remove unused variable.
|
|
|
|
|
|
| |
(bytes, parse_ignore_initial, cmp): Use UINTMAX_MAX
instead of (uintmax_t) -1, to avoid warnings on some compilers.
(usage): Reformat messages to ease translation.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
terminating null character, not for a newline.
|
| |
|
|
|
|
|
| |
overflowing the line length limits. Create the cache in the
build directory, not in the source directory
|
|
|
|
|
|
| |
* The test-version environment variables DIFF_OPTIONS and DIFF_PROGRAM
have been withdrawn, as they caused compatibility problems.
You can use aliases or shell script wrappers instead.
|
|
|
|
|
|
| |
failure on its own. Set errno to 0 before invoking popen.
(finish_output): Report errno on pclose failure.
Distinguish between subsidiary program not found, and failure.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(DIFF_PROGRAM_OPTION): New constant.
(longopts, option_help_msgid, main): Add --diff-program=PROGRAM.
(check_stdout): New function.
(main): Remove DIFF_PROGRAM support. Check stdout after printing version.
Use check_stdout after printing help. Use execvp/perror_fatail rather
than execdiff. Set errno to 0 before invoking popen.
Check for pclose failure properly.
(main, edit): If child exec fails, exit with 127 rather than trying to
print diagnostic.
Distinguish between subsidiary program failing and not being found.
(edit): Handle signals the same way, regardless of whether we're using
system or fork+exec. Check for system returning -1.
|
|
|
|
|
|
|
|
|
|
|
| |
(longopts, main): Use them.
(longopts, main, option_help_msgid): New option --diff-option=PROGRAM.
(main): Remove DIFF_PROGRAM support.
Check stdout after printing version.
(check_stdout): Report errno info if fclose fails.
(read_diff): Have child exit with status 127 when program is not found,
rather than trying to have the child report failure. CHeck for
pclose returning -1.
|
|
|
|
|
|
|
|
| |
(main): Use 130 instead of DEFAULT_WIDTH, since it's not really
builder-settable. Do not prepend DIFF_OPTIONS.
(check-stdout): If fclose (stdout) fails, print errno info.
(option_help_msgid): Default context is 3, not 2.
(usage): Work even if ptrdiff_t is wider than int.
|
|
|
|
|
| |
(Invoking diff3, Invoking sdiff): Remove DIFF_PROGRAM.
(diff3 Options, sdiff Options): Add --diff-program.
|
|
|
|
|
|
| |
(check_stdout): Don't assume that the translations of "write failed"
and of "standard output" lack '%'.
(main): Check stdout after printing version.
|
|
|
|
|
|
| |
[!HAVE_SETMODE_DOS]: Do not include <unistd.h>.
(set_binary_mode): Return mode (not 1) if fd is a tty.
Do not assume that O_TEXT is zero.
|
|
|
|
|
|
|
|
| |
is assumed to modify the integer 1. Index terms like "kibibyte".
Document plain "k".
(Reporting Bugs): Mention bug-report archive and test version
location. Ask for "diff --version" in bug reports.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Fix Sed commands for converting absolute file names into op_srcdir-relative ones.
|
| |
|
| |
|
|
|
|
|
| |
File name case sensitivity now affects file name exclusion.
Fix typos.
|
| |
|
|
|
|
| |
(dir_file_pathname): Use base_name rather than file_name_lastdirchar.
|