summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* (diff_dirs): Check for recursive directory loop.Paul Eggert1998-09-141-1/+1
| | | | | Arg is now struct comparison const *. (dir_loop): New function
* (quotesys.h): Include.Paul Eggert1998-09-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | | (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'
* (XTERN): Renamed from EXTERN.Paul Eggert1998-09-141-1/+1
| | | | | | | | | | | (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.
* (authorship_msgid): New var.Paul Eggert1998-09-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* Fix spacing.Paul Eggert1998-09-141-1/+1
|
* (authorship_msgid): New var.Paul Eggert1998-09-141-2/+2
| | | | | | | | | | | | | | | (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.
* Document recent changes.Paul Eggert1998-09-141-10/+4
| | | | | | 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.
* Fix copyright.Paul Eggert1998-09-141-1/+1
|
* (DEFAULT_DIFF_PROGRAM): Renamed from DIFF_PROGRAM.Paul Eggert1998-09-141-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* (same_file): Add.Paul Eggert1998-09-141-0/+2
|
* Don't alter PROGRAMS.Paul Eggert1998-09-141-2/+0
|
* Update FSF address.Paul Eggert1998-09-141-14/+15
| | | | (quote_system_arg): Renamed from system_quote_arg.
* (DEFAULT_DIFF_PROGRAM): Renamed from DIFF_PROGRAM.Paul Eggert1998-09-141-3/+5
| | | | | When editing mkinstalldirs rule, look for exec_prefix and prefix. Add .exe when installing files.
* (%.exe): Remove.Paul Eggert1998-09-141-4/+1
| | | | (pc-clean): Remove *.exe
* (same_file): Remove.Paul Eggert1998-09-141-2/+0
|
* Initial revisionPaul Eggert1998-09-142-0/+21
|
* Add copyright date and update FSF address.Paul Eggert1998-09-141-2/+5
|
* (diff_dirs): Check for recursive directory loop.Paul Eggert1998-09-141-33/+51
| | | | | Arg is now struct comparison const *. (dir_loop): New function
* Initial revisionPaul Eggert1998-09-131-0/+32
|
* Add --with-mvfs-stat-bug, --with-nfs-stat-bug.Paul Eggert1998-09-131-2/+22
|
* (quotearg.h): Include.Paul Eggert1998-09-131-69/+80
| | | | | | | | | | (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.
* (__attribute__): New macro.Paul Eggert1998-09-131-63/+123
| | | | | | | | | | (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.
* (print_half_line): Add brackets to pacify GCC -Wall.Paul Eggert1998-09-131-24/+26
|
* (quotearg.h): Include.Paul Eggert1998-09-131-167/+281
| | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* Update FSF address.Paul Eggert1998-09-131-13/+14
|
* (cmpbuf.h): Include.Paul Eggert1998-09-131-19/+24
| | | | (slurp): Check for arithmetic overflow when computing buffer size.
* Remove `#if 0'ed code.Paul Eggert1998-09-131-16/+14
|
* (quotearg.h): Include.Paul Eggert1998-09-131-79/+105
| | | | | | | | | | | | | | | | | | | | | | | (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'
* (XTERN): Renamed from EXTERN.Paul Eggert1998-09-131-65/+73
| | | | | | | | | | | (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.
* (authorship_msgid): New var.Paul Eggert1998-09-131-290/+434
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* Fix spacing.Paul Eggert1998-09-131-14/+15
|
* (authorship_msgid): New var.Paul Eggert1998-09-131-67/+52
| | | | | | | | | | | | | | | (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.
* (no_discards): Remove.Paul Eggert1998-09-131-104/+106
| | | | | | | | | (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.
* (block_read): New decl.Paul Eggert1998-09-131-13/+15
|
* (block_read): Moved here from cmp.c.Paul Eggert1998-09-131-3/+31
|
* Document recent changes.Paul Eggert1998-09-131-84/+131
| | | | patch is still only patch 2.2, unfortuantely.
* Mention --from-file=FILE, --to-file=FILE, ed.Paul Eggert1998-09-131-0/+6
|
* (DEFAULT_DIFF_PROGRAM): Renamed from DIFF_PROGRAM.Paul Eggert1998-09-131-39/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* Initial revisionPaul Eggert1998-09-131-0/+48
|
* Define filename_cmp to stricmp (again).Paul Eggert1995-01-031-0/+6
|
* Adjust to emx 0.9a.Paul Eggert1994-12-101-3/+3
| | | | | A few compiler options have changed, and gnuregex.dll should have been stripped.
* Adjust to emx 0.9a.Paul Eggert1994-12-101-2/+0
|
* Adjust to latest patch from eliz.Paul Eggert1994-11-272-2/+20
|
* (PACKAGE, VERSION, diffutils_srcs, D): New vars.Paul Eggert1994-11-141-1/+1
| | | | | | | | | | | | | | | | | | | (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.
* Clean messages.po, too.Paul Eggert1994-11-141-1/+1
|
* (AC_CHECK_HEADERS): Add libintl.h, locale.h.Paul Eggert1994-11-141-3/+12
| | | | (AC_CHECK_LIB): Check for -lintl.
* 2.7.1 alpha newsPaul Eggert1994-11-141-0/+29
|
* (struct msg, message5, print_message_queue): Allocate just one block of memoryPaul Eggert1994-11-141-29/+47
| | | | to save a messsage.
* (gettext): Declare; use a stub if ! HAVE_LIBINTL_H.Paul Eggert1994-11-141-0/+12
| | | | (setlocale): Declare; use a stub if ! HAVE_LOCALE_H.
* (version_string): Fix typo in declaration: `const' was missing.Paul Eggert1994-11-141-60/+79
| | | | | | | (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'.