Lines Matching +refs:cc +refs:check +refs:function +refs:in +refs:lib
6 a bug that lost many msgids in doc/diffutils.pot.
44 (AC_CONFIG_FILES): Remove lib/posix/Makefile.
61 ignored in the -X file.
65 * lib/Makefile.am (SUBDIRS): Remove.
73 * lib/inttostr.c (inttostr): Protect i < 0 by compile-time
75 * lib/inttostr.h: Include limits.h unilaterally.
78 * lib/setmode.c (__attribute__): New macro.
82 * lib/setmode.h (set_binary_mode): Return true, not 1.
130 after failed execvp in child. Report this in parent.
162 (strcasecoll, strcasecmp): Define if not built in.
180 bug reported by Hideki Iwamoto in
204 diff.$(OBJECT), sdiff.$(OBJECT). Patch by Paul D. Smith in
220 * config/config.sub: Sync with latest version maintained in other
223 * lib/file-type.h: Protect against double inclusion. Detect
232 * lib/c-stack.c (segv_handler, c_stack_action) [! defined
244 * po/POTFILES.in: Remove lib/freesoft.c.
245 Add lib/file-type.c, lib/version-etc.c, lib/xmalloc.c.
252 * lib/Makefile.am (noinst_HEADERS): Remove freesoft.h.
255 * lib/freesoft.c, lib/freesoft.h: Remove.
256 * lib/version-etc.h (PARAMS): Remove; we now assume C89 at least.
258 * lib/version-etc.h (version_etc): Remove package and version args.
260 * lib/version-etc.c: Likewise.
267 * lib/version-etc.c, lib/version-etc.h: New files, taken from
284 * lib/fnmatch.c, lib/fnmatch_loop.c (WIDE_CHAR_SUPPORT):
294 config/depcomp, config/texinfo.tex, lib/posix/regex.h,
295 m4/c-bs-a.m4, m4/gettext.m4, m4/gnu-source.m4, m4/lib-link.m4,
297 Update to recent version (maintained in other packages).
299 no longer takes a lib.
322 * lib/Makefile.am (EXTRA_DIST): Add fnmatch_loop.c.
329 * lib/c-stack.c (__attribute__): New macro.
353 * lib/c-stack.h (siginfo_t, c_stack_die): Remove decl.
355 * lib/file-type.c, lib/file-type.h: New files. These contain code
356 that was in src/diff.c, but is now librarified and spiffed up a
359 * lib/fnmatch.c (alloca, __builtin_expect): Define for non-GCC hosts.
372 * lib/fnmatch_.h (__const): Do not define to empty, as this breaks
373 Sun cc. The code doesn't work with K&R anyway.
374 * lib/fnmatch_loop.c (struct patternlist.str): Size 1, not 0,
377 * lib/fnmatch_.h: Import from glibc fnmatch.h.
378 * lib/fnmatch.c, lib/fnmatch_loop.c: Import from glibc.
380 * lib/posixver.c: Include posixver.h.
382 * lib/regex_.h: Renamed from lib/regex.hin.
400 bool in integer constant expression; C99 does not allow it.
426 (filetype): Move to lib/file-type.c and rename to file_type.
454 S_ISSOCK): Remove; now in lib/file-type.h.
475 size_t variable, just in case there's a problem with ptrdiff_t
478 * lib/cmpbuf.c (errno): Remove decl; K&R C is no longer supported.
483 resulting behavior is implementation-defined. Work around bug in
497 Fix bug in -w documentation noted by Karl Berry.
538 * lib/c-stack.c (c_stack_die) [!HAVE_SIGINFO_T]: Don't use info.
567 (diff3 Options): Fix typo in description of -E, which used wrongly used
570 * lib/hard-locale.c (alloca): Remove.
578 * src/cmp.c (specify_comparison_type): New function.
582 is available, even when in the POSIX locale.
605 * lib/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
609 * lib/c-stack.c: Include <errno.h>
625 wording of message. Do not check for stdbool.h or ucontext.h,
643 to recent version (maintained in other packages).
665 (Detailed Context): Prefer ISO time stamp format in discussion.
685 * lib/c-stack.c, lib/c-stack.h, lib/exitfail.c, lib/exitfail.h,
686 lib/posixver.c, lib/posixver.h, m4/c-stack.m4, m4/gnu-source.m4,
689 * intl/ChangeLog, intl/Makefile.in, intl/VERSION,
708 lib/tempname.c: Update to latest version from other packages.
710 * lib/xalloc.h (xalloc_exit_failure): Remove; subsumed by exit_failure.
711 * lib/xmalloc.c: Include exitfail.h.
715 * lib/Makefile.am (noinst_HEADERS): Add c-stack.h, exitfail.h.
719 * lib/cmpbuf.h (buffer_lcm): New arg LCM_MAX.
720 * lib/cmpbuf.c: Include errno.h.
732 * lib/hard-locale.c: Include "hard-locale.h".
744 * po/POTFILES.in: Add lib/c-stack.c, src/dir.c.
752 Avoid arithmetic overflow in buffer size calculation.
785 (SIGCHLD): Do not define; now done in a header.
787 Reject numeric-string options if operating in POSIX 1003.1-2001 mode.
798 an overflow check.
828 (guess_lines): New function. Avoid integer overflow.
834 (ck_editor_status): New function.
880 (AC_CONFIG_SRCDIR): Specify src/diff.c here, not in AC_INIT.
881 (ALL_LINGUAS): Remove: now in po/LINGUAS as per Gettext 0.11.
884 * lib/Makefile.am (noinst_HEADERS): Add gettext.h.
885 * lib/gettext.h: New file, from Gettext 0.11-pre5++.
886 * lib/prepargs.c: Include <string.h>. Reported by Bruno Haible.
890 * m4/lib-ld.m4, m4/lib-link.m4, m4/lib-prefix.m4: New files, from
894 * po/Makefile.in.in: Upgrade to Gettext 0.11-pre5++.
927 (compare_names): Don't check for errno after strcasecmp.
930 that might result in an invalid comparison function that might
946 (N_): Do not wrap arg in parentheses. Fix from Bruno Haible.
958 overflowing the line length limits. Create the cache in the
959 build directory, not in the source directory
978 (check_stdout): New function.
1002 (check-stdout): If fclose (stdout) fails, print errno info.
1016 * lib/setmode.c: [HAVE_FCNTL_H && HAVE_SETMODE_DOS]: Include <fcntl.h>.
1027 location. Ask for "diff --version" in bug reports.
1034 * lib/setmode.c: Include fcntl.h and unistd.h only if
1043 * lib/setmode.c (set_binary_mode) [HAVE_SETMODE_DOS]: Don't assume
1045 and return MODE, thus pretending that it was already in the
1062 * m4/Makefile.am.in: Remove jm-glibc-io.m4
1105 (exclude_options): New function.
1118 (stat_buf): New static var; was formerly a local var in 'main'.
1130 * ms/Makefile.am, m4/setmode.m4, lib/setmode.c, lib/setmode.h:
1133 * lib/Makefile.am (noinst_HEADERS): Add dirname.h, setmode.h.
1144 * lib/posix/regex.h: Fix copyright notice.
1156 Count operands now may be in octal or hex, and may be followed by a
1179 (edit): Reopen the temporary file after the editor has run, in case
1187 (sip): Fix typo in backward lseek when reverting to text mode.
1202 (parse_ignore_initial): New function.
1224 * src/Makefile.am (INCLUDES): Add -I../lib, for regex.h.
1230 * lib/Makefile.am (EXTRA_DIST): Add strtoimax.c, strtol.c.
1232 * Makefile.am (SUBDIRS): Put intl before lib, so that libintl.h exists.
1234 * lib/Makefile.am (noinst_HEADERS): Add unlocked-io.h.
1258 Expand tabs to spaces, except when in an example that actually
1301 (same_file): Do not check attributes.
1315 (change_letter): Now an array rather than a function. All
1321 (zalloc): New function.
1333 (authorship_msgid, option_help_msgid): Wrap in N_().
1339 (temporary_file): New function.
1352 (word): Remove; now done in system.h.
1354 (file_block_read): New function.
1392 (compare_names_for_qsort): New function.
1402 (authorship_msgid, option_help_msgid): Wrap in N_().
1422 (INT_STRLEN_BOUND): Remove; now in system.h.
1474 (excluded_filename, error, free_software_msgid): Remove decls; now in
1479 (change_letter): Now an array, not a function.
1492 (authorship_msgid, option_help_msgid): Wrap in N_().
1523 Use ISO 8601 time format in hard locales.
1540 (set_mtime_to_now): New function.
1554 (print_context_function): New function.
1564 (authorship_msgid): Wrap in N_().
1566 (word): Remove macro; now in system.h.
1570 (option_help_msgid): Wrap in N_().
1576 Do not assume that line numbers fit in 'long'.
1607 * m4/README, lib/prepargs.h, lib/prepargs.c, lib/offtostr.c,
1608 lib/umaxtostr.c, lib/inttostr.c, lib/inttostr.h,
1609 lib/imaxtostr.c, lib/freesoft.h: New files.
1611 * lib/freesoft.c: Include config.h, freesoft.h rather than diff.h.
1612 (free_software_msgid): Wrap contents in N_.
1614 * lib/cmpbuf.h: Use prototypes instead of old-style functions.
1616 * lib/cmpbuf.c:
1621 * lib/Makefile.am, po/POTFILES.in: New file.
1626 Define filename_cmp as an object-like macro, not as a function-like
1629 * exgettext: Always operate in the C locale.
1664 (AC_OUTPUT): Add doc/Makefile, intl/Makefile, lib/Makefile,
1665 lib/posix/Makefile, m4/Makefile, po/Makefile.in, src/Makefile.
1677 * lib/tempname.c (uint64_t):
1682 * lib/tempname.c: glibc 1.32
1686 * m4/Makefile.am.in: GNU fileutils 4.1
1690 * lib/tempname.c (struct_stat64): New macro.
1694 * lib/tempname.c (<config.h>): Include if HAVE_CONFIG_H.
1713 * lib/mkstemp.c (__GT_FILE): Define to zero if not defined.
1717 * lib/hard-locale.c: New file.
1725 * lib/mkstemp.c: glibc 2.2
1738 * Makefile.in (VERSION): Version 2.7.2.
1760 (check): Set DIFF.
1761 (stamp-h.in): Don't put the date into the timestamp.
1768 * configure.in (AC_PATH_PROG): Add PR_PROGRAM.
1849 (dir_loop): New function
1878 If HAVE_VFORK, block SIGINT and SIGPIPE in the parent, since when
1894 Avoid stdio and gettext in child.
1969 Each function and macro whose first parameter is a gettext msgid
1970 has had its first parameter's name changed so it ends in `msgid'.
1971 All arrays of msgids have had their names changed to end in `msgid'.
1982 * Makefile.in (PACKAGE, VERSION, diffutils_srcs, D): New vars.
1989 ($D.tar.gz): New file, takes over old `dist' function.
1990 Don't assume $(distfiles) are all in same directory.
1992 * configure.in (AC_CHECK_HEADERS): Add libintl.h, locale.h.
2024 * sdiff.c (trapsigs): Don't check signal return value, since it's
2029 * Makefile.in (srcs, diff_o, diff3_o, sdiff_o):
2036 (summarize_regexp_list): New function.
2041 don't return size of function line. All callers changed.
2057 New function; replaces SYSTEM_QUOTE_ARG macro.
2069 differs and -i is in force. Don't assume ISSPACE ('\n') is nonzero.
2084 * Makefile.in (common_o): New variable.
2086 (check): Depend on $(PROGRAMS).
2102 * configure.in (AC_HEADER_SYS_WAIT): Add.
2124 * configure.in (AC_ARG_PROGRAM): Added.
2127 * Makefile.in (DEFAULT_EDITOR_PROGRAM, DIFF_PROGRAM, LIBOBJS,
2129 (check, stamp-h.in, cmp.o, util.o): New targets.
2133 (distfiles): Add stamp-h.in.
2137 (install): Install info files from srcdir if they're not in `.'.
2145 * diff.h (PR_FILE_NAME): Rename to PR_PROGRAM and move to Makefile.in,
2174 * configure.in (AC_FUNC_MEMCHR): Remove. Autoconf didn't adopt this,
2182 * system.h (memcmp): Define in terms of bcmp.
2185 * Makefile.in (srcs): Remove memcmp.c.
2190 * configure.in (AC_CONFIG_HEADER): Rename config.h.in to config.hin.
2192 (AC_CHECK_HEADERS): Remove now-redundant check for <string.h>.
2197 * Makefile.in (CPPFLAGS, DEFS, CFLAGS, LDFLAGS, prefix, exec_prefix):
2201 (distfiles): Rename config.h.in->config.hin, install.sh->install-sh.
2232 * configure.in: Revamp for Autoconf 2.
2234 * Makefile.in (diff_o, diff3_o, sdiff_o): Add $(LIBOBJS).
2250 * configure.in: Switch to new autoconf names. Add sys/file.h test.
2251 * Makefile.in (distclean): Clean config.cache, config.log
2261 Use * instead of [] in prototypes.
2273 directory char in a file name.
2280 * io.c (sip): If HAVE_SETMODE, test for binary files in O_BINARY mode.
2294 * Makefile.in (info, dvi, diff.dvi): New targets.
2311 * Makefile.in (LDFLAGS): Remove -g. Change all link commands
2325 * Makefile.in (distclean): Remove config.h.
2362 (read_diff): Detect integer overflow in buffer size calculations.
2370 * configure.in (AC_HAVE_HEADERS): Add unistd.h; remove AC_UNISTD_H.
2377 * Makefile.in (cmp): Add version.o.
2409 * Makefile.in (cmp): Add version.o.
2430 * configure.in (AC_STAT_MACROS_BROKEN): Add.
2434 * Makefile.in (diff3, sdiff, cmp): Do not link $(ALLOCA).
2447 so that they're used consistently in all system includes.
2463 * ifdef.c (scan_char_literal): New function, for new %c'x' and
2471 configuring in a separate directory when the source directory has
2473 * Makefile.in (COMPILE): New defn, with proper -I options so that
2496 * configure.in: Configure HAVE_LIMITS_H, HAVE_STDLIB_H.
2511 the same file; avoid a needless `stat' in that case.
2516 Add prototypes to function declarations.
2524 * Makefile.in: (srcs, objs, distfiles, cmp): New files cmpbuf.[ch].
2525 (distfiles): New files config.h.in, mkinstalldirs.
2549 If 2nd file is "-", treat it first, in case stdin is closed.
2564 * configure.in: Configure HAVE_SIGACTION, RETSIGTYPE, HAVE_VPRINTF.
2572 (filetype): New function.
2625 When a signal comes in, just set a global variable; this is safer.
2641 (message5): New function.
2645 Don't check execl's return value, since any return must be an error.
2652 (dir_file_pathname): New function.
2658 * Makefile.in (config.status): Run config.status --recheck, not
2663 * Makefile.in (dist): Replace `if [ ! TEST ]; then ACTION; fi'
2669 * Makefile.in (installdirs): New target.
2675 * Makefile.in (dist): Switch from .z to .gz.
2688 (briefly_report): New function.
2707 * Makefile.in (dist): Change name of package from diff to diffutils.
2736 * diff.c (main): Use NULL in arg to compare_files.
2749 * Makefile.in (.c.o): Add -I$(srcdir); put $(CFLAGS) last before $<.
2764 * Makefile.in (srcs): Remove limits.h.
2780 * Makefile.in (.c.o, diff3.o, sdiff.o): Put $(CFLAGS) last.
2790 * Makefile.in (dist): Survive ln failures. Create .tar.z
2801 * Makefile.in (.c.o): Add -I.
2805 * configure.in: Add HAVE_FCNTL_H, since system.h uses it.
2809 * Makefile.in: Note change from USG to HAVE_STRING_H.
2834 * diff3.c (usage): Add third --label option in example.
2838 * configure.in, system.h: Avoid USG; use HAVE_TIME_H etc. instead.
2917 * util.c (output_1_line): New function.
2928 * ifdef.c (format_ifdef): New function.
2943 * ifdef.c (print_ifdef_lines): New function, which fwrites a sequence
2950 (specify_format): New function.
2963 (memchr): New function (if memchr is missing).
2971 prototype for wait in sys/wait.h.
2975 * Makefile.in: Include binprefix in -DDIFF_PROGRAM.
2989 * Makefile.in (uninstall): New target.
2993 Makefile.in: Use fnmatch.c, not wildmat.c.
2997 * configure.in: Add HAVE_MEMCHR.
3005 in common prefix that are not recorded in linbuf;
3024 don't slurp them all in at once; just compare them a buffer at a time.
3043 instead of doing it in a separate pass; this thrashes memory less.
3051 (prepare_text_end): New function.
3060 (sip, slurp): Split first part of `slurp' into another function `sip'.
3069 if it has a null byte in its first buffer, it's binary.
3076 (memchr): New function (if memchr is missing).
3078 * Makefile.in: Document HAVE_ST_BLKSIZE. Link with wildmat.o.
3080 * configure.in: Add AC_ST_BLKSIZE.
3095 characters (in info's case, ^_).
3105 * diff.c (add_regexp): New function.
3109 * Makefile.in: Link with version.o.
3117 * diff3.c (perror_with_exit): Include program name in message.
3121 * sdiff.c [USG || STDC_HEADERS]: Define bcopy in terms of memcpy.
3124 * Makefile.in: Link with version.o.
3127 * Makefile.in: Add rules for them.
3161 * Makefile.in: Distribute diff.info-* too.
3176 * Makefile.in (srcs): Add sdiff.c.
3184 * Makefile.in (all): Add diff.info, sdiff.
3190 * configure: Fix check for vfork.
3202 Ignore interrupts while the subsidiary editor is in control.
3216 * Makefile.in, sdiff.c: introduced sdiff front end to diff.
3218 * Makefile.in, analyze.c, diff.c, diff.h, io.c, side.c: Added
3223 * Makefile.in, configure: Only put $< in Makefile if using VPATH,
3234 Makefile.in in that directory. Set VPATH if srcdir is not `.'.
3235 * Makefile.in: Get rid of $(archpfx).
3239 * Makefile.in (prefix): Renamed from DESTDIR.
3252 * configure, Makefile.in: $(INSTALLPROG) -> $(INSTALL).
3256 * Replace Makefile with configure and Makefile.in.
3306 diff.tar.Z, to encode version number in distribution directory
3330 output_style): Tread unidiff as an output style in its own
3359 ending in incomplete lines.
3420 * context.c (print_context_label): New function.
3438 current_chunk_size now an int. Detect error in `pipe'.
3441 No need to check validity of diff output here.
3442 Include newline in length of line.
3446 Fix error storing in tag_strings.
3452 (output_diff3_merge): New function.
3456 * analyze.c (diff_2_files): Report missing newline in either
3465 * io.c (slurp): Don't mention differences in final newline if -B.
3470 Other changes in backwards scan to avoid decrementing pointers
3483 * analyze.c: Add external function declarations.
3484 * analyze.c (build_script): Turn off explicit check for final newline.
3525 Increase threshold for stopping discarding, and also check for
3533 (read_diff): Don't use stdio printing error in the inferior.
3623 Fix misspelling of `preceding' in var names.
3648 in the next diff.
3693 * diff.c (main): Detect -q, record in no_details_flag.
3697 * diff.c (usage): New function.
3706 * io.c (find_and_hash_each_line): Bug fix in context handling,
3712 necessarily end in newline, introduce some changes that cause
3722 * io.c (find_and_hash_each_line): Bug fix in
3727 missing a final newline, make sure it's not included in either
3749 Sometimes call diff_dirs if subdir exists in just one place.
3758 * diff3.c (using_to_diff3_block): Now find high marks in files 1
3792 * io.c (find_identical_ends): Do need overrun check in finding suffix.
3797 Now -p to show C function name--Damned IEEE!
3811 * analyze.c (diff_2_files): Mention difference in final newlines.
3819 * Makefile: New vars INSTALL and LIBS used in some rules;
3848 * diff.c: Changed S_IFDIR to S_IFMT in masking type of file bits
3870 This program is distributed in the hope that they will be useful,