| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
Arg is now struct comparison const *.
(dir_loop): New function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(free_software_msgid): New decl.
(RANGE_START, RANGE_END): Renamed from START and END.
(fatal, perror_with_exit, try_help): Add noreturn attribute.
(error): Add printf attribute.
(diff_program): Now a ptr, not an array. Initialize to DEFAULT_DIFF_PROGRAM
instead of DIFF_PROGRAM.
(longopts, main): Don't assume ASCII.
(main): Use DIFF environment var to specify name of diff program.
Compare getopt_long result to -1, not EOF.
-v now reports version according to new GNU standard.
Report spelling of extra operand, or last operand before missing one.
(try_help): Now takes operand arg.
(option_help_ms): Fix typo: missing comma.
(usage): Update as per current GNU standards.
(environ): Remove decl.
(read_diff): Invoke diff with --inhibit-hunk-merge.
Translate `not found' message before forking.
Quote name of diff program.
Pass horizon lines.
`memory exhausted' -> `Memory exhausted'
|
|
|
|
|
|
|
|
|
|
|
| |
(struct filedata): Remove dir_p arg.
(struct comparison): New type.
(diff_2_files, diff_dirs)" Ise ot/
(error): Add printf attribute if applicable.
(free_software_msgid): New decl.
(pr_program): New decl.
(fatal): Add noreturn attribute.
(pfatal_with_name): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(quotesys.h): Include.
(ck_atoi): Remove.
(function_regexp_list, ignore_regexp_list): Now static.
(binary_flag): Renamed from binary_I_O.
(entire_new_file_flag, unidirectional_new_file_flag, print_file_same_flag):
Now static.
(numeric_arg): Renamed from ck_atoi.
New argument specifying the argument type.
(longopts, main): Don't assume ASCII.
(longopts): Remove old aliases --file-label, --entire-new-file, --ascii,
--print.
(main): Check for -1, not EOF, when calling getopt_long.
Use numeric_arg to report errors.
Report error if -l specified but pagination is not supported.
Report error if -S is specified twice with conflicting values.
Have --version conform to the new GNU standards.
Add new --from-file, --to-file, --inhibit-hun,-merge options.
Make the horizon at least as large as the context.
Add casts to pacify gcc -Wall.
(try_help): Add operand arg.
(option_help_msgid): Doc fix to match above.
(usage): Indent option_help_msgid.
(compare_files): Now takes struct comparison
instead of two directory names and a depth.
(NONEXISTENT, UNOPENED, ERRNO_ENCODE, ERRNO_DECODE):
New macros.
(DIR_P): New macro.
Report error if fflush does.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(free_software_msgid): New decl.
(error): Now has printf attribute.
(try_help): Likewise.
(long_options): Don't assume ASCII.
(try_help): Now accepts operand arg.
(main): Check for -1, not EOF, when calling getopt_long.
Report --ignore-initial value when complaining about it.
Output copyright and free software info with -v.
Don't assume ASCII.
Report last operand when one is missing.
Report text of extra operand.
Move block_read into cmpbuf.c.
|
|
|
|
|
|
| |
The patch doc still corresponds to patch 2.2, unfortunately.
Update GNU bug reporting address. Omit Larry Wall's address;
it's obsolete and he's busy with perl.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(PR_PROGRAM): All `configure' to define it.
(srcs): Add $(diffutils_srcs), freesoft.c, quotearg.c instead of quote.c,
quotearg.h.
(distfiles): Add acconfig.h, message/*.
(all): Depend on $(destfiles), not info.
(version.c): Parenthesize `GNU diffutils'.
(common_o): Add freesoft.o
(diff_o): quote.o -> quotearg.o
(diff3_o, sdiff_o): Likewise.
(diff.dvi): Depend on version.texi.
(diff.o diff3.o quotearg.o sdiff.o util.o): New dependency on quotearg.h
(diff3.o): DIFF_PROGRAM -> DEFAULT_DIFF_PROGRAM.
(sdiff.o): Likewise.
(messages.po): Remove.
(message/msgid.po, message/template.po): New rules.
(maintainer-clean): Renamed from realclean.
(install): Install from source directory, if applicable.
Invoke install-info if needed.
(install-strip): New rule.
(check): Set DIFF.
(stamp-h.in): Don't put the date into the timestamp.
(D_dirs): Add $D/message.
($D.tar.gz): Compress with gzip -9.
(srcs, distfiles, diff_o, diff3_o, sdiff_o): Rename quotearg.c to
quotesys.c and quotearg.h to quotesys.h.
|
| |
|
| |
|
|
|
|
| |
(quote_system_arg): Renamed from system_quote_arg.
|
|
|
|
|
| |
When editing mkinstalldirs rule, look for exec_prefix and prefix.
Add .exe when installing files.
|
|
|
|
| |
(pc-clean): Remove *.exe
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Arg is now struct comparison const *.
(dir_loop): New function
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(PR_PROGRAM): New macro.
(pfatal_with_name): Abort if error returns.
(fatal): Likewise.
(print_message_queue): Free message chain after printing.
(currently_recursive): Renamed from current_depth, and now a boolean.
(begin_output): Report error if fflush does.
Avoid stdio and gettext in child.
|
|
|
|
|
|
|
|
|
|
| |
(getenv): Don't declare if HAVE_STDLIB_H.
(CHAR_MAX): New macro.
(<locale.h>): New include.
(<locale.h>): Include before <libintl.h>.
(could_be_mvfs_stat_bug, could_be_nfs_stat_bug, dev_may_have_duplicate_ino,
same_special_file): New macros.
(same_file): Use them.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(DIFF_PROGRAM, DEFAULT_EDITOR_PROGRAM): Remove.
(free_software_msgid, editor_program, not_found): New vars.
(diffbin, edbin): Remove.
(editor_program): Renamed from edbin.
(edit, interact): Now take extra string arg.
(exiterr, fatal, perror_fatal, try_help): Add noreturn attribute.
(sigset_t, sigemptyset, sigmask, sigaddset, SIG_BLOCK, SIG_SETMASK):
(sigprocmask): New macros, if !HAVE_SIGPROCMASK.
(error): Now has printf attribute.
(longopts, main): Don't assume ASCII.
(try_help): New operand arg.
(usage): Conform to new GNU standards.
(main): Set static vars for editor and diff program.
Compare getopt_long result to -1, not EOF.
-v conforms to new GNU standard.
Complain better about extra and missing operands.
If HAVE_VFORK, block SIGINT and SIGPIPE in the parent, since when
the child munges its handlers it may somp on the parent.
Pass rname to intract.
Translate not-found message before forking.
(give_help): Just output it all at once.
(edit): New args lname, lline, rname, rline.
(edit): New command 'd'.
(interact): New args lname, rname.
|
| |
|
|
|
|
| |
(slurp): Check for arithmetic overflow when computing buffer size.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(free_software_msgid): New decl.
(RANGE_START, RANGE_END): Renamed from START and END.
(fatal, perror_with_exit, try_help): Add noreturn attribute.
(error): Add printf attribute.
(diff_program): Now a ptr, not an array. Initialize to DEFAULT_DIFF_PROGRAM
instead of DIFF_PROGRAM.
(longopts, main): Don't assume ASCII.
(main): Use DIFF environment var to specify name of diff program.
Compare getopt_long result to -1, not EOF.
-v now reports version according to new GNU standard.
Report spelling of extra operand, or last operand before missing one.
(try_help): Now takes operand arg.
(option_help_ms): Fix typo: missing comma.
(usage): Update as per current GNU standards.
(environ): Remove decl.
(read_diff): Invoke diff with --inhibit-hunk-merge.
Translate `not found' message before forking.
Quote name of diff program.
Pass horizon lines.
`memory exhausted' -> `Memory exhausted'
|
|
|
|
|
|
|
|
|
|
|
| |
(struct filedata): Remove dir_p arg.
(struct comparison): New type.
(diff_2_files, diff_dirs)" Ise ot/
(error): Add printf attribute if applicable.
(free_software_msgid): New decl.
(pr_program): New decl.
(fatal): Add noreturn attribute.
(pfatal_with_name): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(quotearg.h): Include.
(ck_atoi): Remove.
(function_regexp_list, ignore_regexp_list): Now static.
(binary_flag): Renamed from binary_I_O.
(entire_new_file_flag, unidirectional_new_file_flag, print_file_same_flag):
Now static.
(numeric_arg): Renamed from ck_atoi.
New argument specifying the argument type.
(longopts, main): Don't assume ASCII.
(longopts): Remove old aliases --file-label, --entire-new-file, --ascii,
--print.
(main): Check for -1, not EOF, when calling getopt_long.
Use numeric_arg to report errors.
Report error if -l specified but pagination is not supported.
Report error if -S is specified twice with conflicting values.
Have --version conform to the new GNU standards.
Add new --from-file, --to-file, --inhibit-hun,-merge options.
Make the horizon at least as large as the context.
Add casts to pacify gcc -Wall.
(try_help): Add operand arg.
(option_help_msgid): Doc fix to match above.
(usage): Indent option_help_msgid.
(compare_files): Now takes struct comparison
instead of two directory names and a depth.
(NONEXISTENT, UNOPENED, ERRNO_ENCODE, ERRNO_DECODE):
New macros.
(DIR_P): New macro.
Report error if fflush does.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(free_software_msgid): New decl.
(error): Now has printf attribute.
(try_help): Likewise.
(long_options): Don't assume ASCII.
(try_help): Now accepts operand arg.
(main): Check for -1, not EOF, when calling getopt_long.
Report --ignore-initial value when complaining about it.
Output copyright and free software info with -v.
Don't assume ASCII.
Report last operand when one is missing.
Report text of extra operand.
Move block_read into cmpbuf.c.
|
|
|
|
|
|
|
|
|
| |
(inhibit): Remove.
(shift_boundaries): Don't inhibit. If inhibit_hunk_merge is nonzero,
don't merge hunks.
(briefly_report): Now returns 2 if trouble, CHANGES otherwise.
(diff_2_files): Now takes struct comparison. If briefly_report reports
trouble, pass it on to caller.
|
| |
|
| |
|
|
|
|
| |
patch is still only patch 2.2, unfortuantely.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(PR_PROGRAM): All `configure' to define it.
(srcs): Add $(diffutils_srcs), freesoft.c, quotearg.c instead of quote.c,
quotearg.h.
(distfiles): Add acconfig.h, message/*.
(all): Depend on $(destfiles), not info.
(version.c): Parenthesize `GNU diffutils'.
(common_o): Add freesoft.o
(diff_o): quote.o -> quotearg.o
(diff3_o, sdiff_o): Likewise.
(diff.dvi): Depend on version.texi.
(diff.o diff3.o quotearg.o sdiff.o util.o): New dependency on quotearg.h
(diff3.o): DIFF_PROGRAM -> DEFAULT_DIFF_PROGRAM.
(sdiff.o): Likewise.
(messages.po): Remove.
(message/msgid.po, message/template.po): New rules.
(maintainer-clean): Renamed from realclean.
(install): Install from source directory, if applicable.
Invoke install-info if needed.
(install-strip): New rule.
(check): Set DIFF.
(stamp-h.in): Don't put the date into the timestamp.
(D_dirs): Add $D/message.
($D.tar.gz): Compress with gzip -9.
|
| |
|
| |
|
|
|
|
|
| |
A few compiler options have changed, and gnuregex.dll should have been
stripped.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(version.c, version.texi, messages.po): New files.
messages.po is built automatically from source files and `getmsgids'.
Each function and macro whose first parameter is a gettext msgid
has had its first parameter's name changed so it ends in `msgid'.
All arrays of msgids have had their names changed to end in `msgid'.
`getmsgids' uses this to determine which strings are msgids.
All strings that are messages are passed through gettext once before
being used, so that they can be localized.
Several diagnostics have been changed slightly, to make them more consistent
and easier to translate.
(distfiles): Add them, pc/*, and getmsgids.
(diff.info): Now depends on version.texi.
(realclean): Clean messages.po, version.*.
(dist): Just build $D.tar.gz.
($D.tar.gz): New file, takes over old `dist' function.
Don't assume $(distfiles) are all in same directory.
|
| |
|
|
|
|
| |
(AC_CHECK_LIB): Check for -lintl.
|
| |
|
|
|
|
| |
to save a messsage.
|
|
|
|
| |
(setlocale): Declare; use a stub if ! HAVE_LOCALE_H.
|
|
|
|
|
|
|
| |
(option_help_msgid, help_msgid): New constant.
(usage, give_help): Use them, so message is translated one option at a time.
(main): Invoke setlocale first thing, to tell library we're internationalized.
(trapsigs): Ignore sigaction failure, to be compatible with `signal'.
|