summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* (main): Invoke setlocale first thing, to tell library we're internationalized.Paul Eggert1994-11-141-44/+55
| | | | | (option_help_msgid): New constant. (usage): Use it, so message is translated one option at a time.
* (main): Invoke setlocale first thing, to tell library we're internationalized.Paul Eggert1994-11-141-95/+111
| | | | | | | -D FOO now outputs `/* ! FOO */ instead of `/* not FOO */'. (option_help_msgid): New constant. (usage): Use it, so message is translated one option at a time. (compare_files): For label, use file_label if set.
* (main): Invoke setlocale first thing, to tell library we're internationalized.Paul Eggert1994-11-141-45/+60
| | | | | | | (option_help_msgid): New constant. (usage): Use it, so message is translated one option at a time. (sprintc): Renamed from `printc'. Now outputs to a buffer instead of stdout. (cmp): Use new sprintc semantics.
* (briefly_report): Rewrite `message (A?"B":"C")' asPaul Eggert1994-11-141-5/+15
| | | | | `if (A) message ("B") : message ("C")'; this is for getmsgids. (briefly_report, diff_2_files): For label, use file_label if set.
* Use version.texi.Paul Eggert1994-11-141-5/+9
| | | | -D FOO now outputs `/* ! FOO */ instead of `/* not FOO */'.
* Initial revisionPaul Eggert1994-11-141-0/+75
|
* (PACKAGE, VERSION, diffutils_srcs, D): New vars.Paul Eggert1994-11-141-21/+45
| | | | | | | | | | | | | | | | | | | (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 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.
* Add HAVE_LIBINTL_H, HAVE_LOCALE_H, HAVE_LIBINTL.Paul Eggert1994-11-131-0/+9
|
* (trapsigs): Don't check signal return value, since it's bogus under djgpp.Paul Eggert1994-11-091-3/+2
|
* Include <sys/emxload.h>. Define _REGEX_RE_COMP.Paul Eggert1994-11-091-0/+6
|
* Remove quote.o.Paul Eggert1994-11-091-0/+1
|
* Fix to match autoconf 2.0 outline.Paul Eggert1994-10-311-3/+6
|
* (pr_program): New var.Paul Eggert1994-10-311-37/+32
| | | | | | | | | (begin_output): Use system_quote_arg to compute command. (analyze_hunk): ignore_regexp_list -> ignore_regexp.fastmap Fix off-by-1 line length bug. Match with one big regexp instead of a list of regexps. Use new `trivial_length' local instead of comparing line's first byte to `\n'. Help the compiler with linbuf local vars.
* (system_quote_arg): New function; replaces SYSTEM_QUOTE_ARG macro.Paul Eggert1994-10-311-18/+2
|
* (main): Use system_quote_arg to compute command.Paul Eggert1994-10-311-5/+5
|
* (find_identical_ends): function_regexp_list -> function_regexp.fastmapPaul Eggert1994-10-311-1/+1
|
* (read_diff): Quote arguments with system_quote_arg.Paul Eggert1994-10-311-6/+8
|
* (function_regexp, ignore_regexp): Replace lists of compiled regexps withPaul Eggert1994-10-311-9/+3
| | | | | these single compiled regexps. (regexp_list, function_regexp_list, ignore_regexp_list): Moved to diff.c.
* (option_list): Quote options with system_quote_arg.Paul Eggert1994-10-311-23/+78
| | | | | | | (add_regexp): Build one big regexp instead of a list of regexps. (summarize_regexp_list): New function. (regexp_list): Redesigned struct; moved here from diff.h. (function_regexp_list, ignore_regexp_list): Likewise, for vars.
* (find_function): Simplify interface: don't return size of function line.Paul Eggert1994-10-311-42/+32
| | | | | | | All callers changed. function_regexp_list -> function_regexp (print_context_script, pr_context_hunk, pr_unidiff_hunk): ignore_regexp_list -> ignore_regexp.fastmap (print_context_script, find_function): INT_MAX now denotes no previous match;
* Fix comment.Paul Eggert1994-10-311-1/+1
|
* (diff_2_files): ignore_regexp_list -> ignore_regexp.fastmapPaul Eggert1994-10-311-3/+3
|
* \ -> /Paul Eggert1994-10-314-7/+6
|
* Remove __GNU_LIBRARY__, SYSTEM_QUOTE_ARG, system_quote_arg.Paul Eggert1994-10-312-6/+1
|
* (system_quote_arg): Compute size if first arg is 0.Paul Eggert1994-10-311-23/+35
|
* Quote CFLAGS= for djgpp GNU make.Paul Eggert1994-10-311-26/+28
| | | | | Clean *.bat, fname. Move dist to different directory.
* Update version number, remove `only' typo.Paul Eggert1994-10-311-3/+3
|
* (srcs, diff_o, diff3_o, sdiff_o): New files quote.c, quote.o.Paul Eggert1994-10-311-4/+4
|
* (perror_with_name, fatal): Use GNU `error'.Paul Eggert1994-10-151-70/+14
| | | | | | (error): Remove. (line_cmp): tolower -> _tolower (xmalloc, xrealloc): Remove.
* (_tolower): Define if not already defined.Paul Eggert1994-10-151-8/+9
| | | | (malloc, realloc): Remove unused declarations.
* (xmalloc): Remove.Paul Eggert1994-10-151-38/+21
| | | | (diffarg): Take advantage of cleaner xrealloc semantics.
* (ROL): Use sizeof to make it more generic.Paul Eggert1994-10-151-51/+62
| | | | | | | | (slurp): Align buffer size to word size, in case malloc cares. (find_and_hash_each_line): Don't invoke line_cmp if the length differs and -i is in force. tolower -> _tolower; this speeds up diff -i considerably under some hosts (e.g. Solaris 2.3). Don't assume ISSPACE ('\n') is nonzero.
* (groups_letter_value): tolower -> _tolowerPaul Eggert1994-10-151-1/+1
|
* (main): Use strerror (EISDIR) instead of "Is a directory".Paul Eggert1994-10-151-44/+15
| | | | | (xmalloc, xrealloc): Remove. (fatal, perror_with_exit): Use `error'.
* (ignore_some_line_changes): Removed. All users changed.Paul Eggert1994-10-151-20/+21
| | | | | | (error): Change to GNU library standard. All callers changed. (xmalloc_exit_failure): New variable. xmalloc and xrealloc are now taken from GNU library. All `main' programs set this variable at the start.
* (add_exclude): Can now assume xrealloc (0, ...) works.Paul Eggert1994-10-151-29/+32
| | | | (add_regexp): Free storage on failure. Allocate storage all at one go.
* (main): Align buffer size to word size, in case malloc cares.Paul Eggert1994-10-151-4/+7
|
* error caller changedPaul Eggert1994-10-151-1/+1
|
* (common_o): New variable. Link error.o and xmalloc.o into all programs.Paul Eggert1994-10-151-7/+9
| | | | (check): Depend on $(PROGRAMS).
* (main): Set xmalloc_exit_failure.David MacKenzie1994-10-121-0/+2
|
* ENV -> envPaul Eggert1994-10-032-3/+3
|
* ENV -> env. Remove makefile rules. Read pc/makefile.Paul Eggert1994-10-031-2/+6
|
* Simplify the instructions by building a makefile.Paul Eggert1994-10-031-17/+11
|
* Simplify the instructions.Paul Eggert1994-10-031-10/+7
|
* / -> \Paul Eggert1994-10-031-1/+1
|
* / -> \. 65536, not 64*1024, in case somebody has a small int compiler.Paul Eggert1994-10-031-2/+2
|
* Limit to only emx-specific stuff.Paul Eggert1994-10-021-33/+4
|
* Initial revisionPaul Eggert1994-10-024-0/+142
|
* Limit to only djgpp-specific stuff.Paul Eggert1994-10-021-56/+3
|
* Remove initialize_main.Paul Eggert1994-10-021-12/+0
|