openhub.net
Black Duck Software, Inc.
Open Hub
Follow @
OH
Sign In
Join Now
Projects
People
Organizations
Tools
Blog
BDSA
Projects
People
Projects
Organizations
Forums
GNU Diff Utilities
Settings
|
Report Duplicate
1,089
I Use This!
×
Login Required
Log in to Open Hub
Remember Me
Low Activity
Commits
: Listings
Analyzed
22 days
ago. based on code collected
23 days
ago.
Jan 29, 2024 — Jan 29, 2025
Showing page 26 of 48
Search / Filter on:
Commit Message
Contributor
Files Modified
Lines Added
Lines Removed
Code Location
Date
Modernize bootstrap procedure to match current gnulib. * bootstrap: Sync with coreutils bootstrap, except check that the directory build-aux exists before trying to copy to it. * bootstrap.conf: New file. (gnulib_modules): Add config-h, dup2, extensions, fcntl, fdl, stat-macros, unistd. * configure.ac: Invoke gl_EARLY and gl_INIT rather than GNULIB_AUTOCONF_SNIPPET. (AC_CONFIG_HEADER): Rename config.h to lib/config.h. (AC_CHECK_HEADERS_ONCE): Don't check for fcntl.h, locale.h, sys/file.h, unistd.h. We now use the fcntl and unistd modules, and locale.h can be assumed for any C89 compiler. (DIFFUTILS_PREREQUISITES): Remove. No longer needed now that we use the stdint module. (AC_CHECK_FUNCS_ONCE): Remove dup2, which is no longer needed now that we use the dup2 module. (AM_GNU_GETTEXT): Use need-formatstring-macros, and ... (AM_GNU_GETTEXT_VERSION): specify version 0.15 instead of 0.14.5, to be consistent with coreutils. * lib/Makefile.am (noinst_LIBRARIES): (lib_SOURCES, libdiffutils_a_LIBADD): (libdiffutils_a_DEPENDENCIES, BUILT_SOURCES, EXTRA_DIST): (MOSTLYCLEANFILES): Remove; now computed automatically. (noinst_HEADERS, libdiffutils_a_SOURCES): Just append our special files now. * lib/cmpbuf.c: Include config.h unconditionally, since we no longer define HAVE_CONFIG_H. * lib/prepargs.c: Likewise. * src/Makefile.am (LDADD): Use $(LIBINTL), not @LIBINTL@. (diff_LDADD): Use $(LIB_CLOCK_GETTIME), not @LIB_CLOCK_GETTIME@. * src/dir.c (dir_read): Use _D_EXACT_NAMLEN, not NAMELEN. * src/system.h (volatile): Remove, since we assume C89 or better. Include stat-macros.h. (S_IRWXU, S_IRWXG, S_IRWXO, S_IRUSR, S_IWUSR): Remove, since we now use stat-macros.h. (SEEK_SET, SEEK_CUR): Remove, since we assume C89 or better. Include unistd.h unconditionally, since we use unistd. Likewise for fcntl.h. (dup2): Remove, since we now use dup2. (O_RDONLY, O_RWDR, O_BINARY): Remove, since we now use fcntl. Include dirent.h unconditionally. (NAMLEN): Remove, replacing with.... (_D_EXACT_NAMLEN): New macro. Include inttypes.h unconditionally. (PTRDIFF_MAX, SIZE_MAX, UINTMAX_MAX, strtoumax): Remove, since we now use inttypes. Include locale.h unconditionally. (setlocale): Remove, since we now assume locale.h.
Paul Eggert
More...
over 18 years ago
* doc/diff.texi (Detailed Unified): Don't output trailing white space unless the input data has it. * src/context.c (pr_unidiff_hunk): Likewise.
Paul Eggert
More...
over 18 years ago
* src/context.c (print_context_function): Do not print trailing white space in a context header.
Paul Eggert
More...
over 18 years ago
(cmp Options): -l also outputs the EOF message.
Paul Eggert
More...
over 18 years ago
* src/cmp.c (cmp): The previous fix wasn't quite right either, as it mishandled 'cmp A B >/dev/null' when A is shorter than B and differs before A's end-of-file, by outputting a bogus EOF message. Also, it was inefficient if A and B were large.
Paul Eggert
More...
almost 19 years ago
Use Jim's wording in ChangeLog entry, mostly.
Paul Eggert
More...
almost 19 years ago
Correct authorship of previous patch.
Paul Eggert
More...
almost 19 years ago
* src/cmp.c (cmp): Fix bug introduced in 2006-03-09 change. For example, "cmp <(echo b) <(echo a) > /dev/null" incorrectly succeeded. Problem reported by Jim Meyering.
Paul Eggert
More...
almost 19 years ago
* src/context.c (pr_context_hunk, pr_unidiff_hunk): Prefer fputs or fputc to fprintf, since it's a tad more efficient with unlocked-IO on glibc. Long ago we avoided fputs to work around an ancient SunOS bug, but that's no longer relevant. * src/diff3.c (output_diff3, dotlines, undotlines): (output_diff3_edscript, output_diff3_merge): Likewise. This also avoids a gcc -Wformat-security warning reported by Jim Meyering. * src/ed.c (print_ed_hunk, print_forward_ed_hunk, print_rcs_hunk): Likewise. * src/normal.c (print_normal_hunk): Likewise.
Paul Eggert
More...
almost 19 years ago
find_identical_ends and doc/diff.texi fixes
Paul Eggert
More...
almost 19 years ago
(find_identical_ends): Fix huge performance bug that I introduced in the 2001-11-25 change: the code to remove the identical suffix also looked at the trailing sentinel, which meant the common suffix length was always incorrectly calculated to be zero. Problem and fix reported by Daniel Hipschman. Instead of his fix, revert to the (nearly-equivalent) pre-2001 code.
Paul Eggert
More...
almost 19 years ago
Switch from GFDL 1.1 to 1.2.
Paul Eggert
More...
almost 19 years ago
* src/system.h (PARAMS, PROTOTYPES): Remove; no longer needed. (IF_LINT): New macro, to pacify GCC. * src/analyze.c (diag, compareseq): Use IF_LINT. * src/cmp.c (cmp): Likewise. * src/diff3.c (process_diff): Likewise. Also, prefer NULL to 0. * src/ifdef.c (do_printf_spec, scan_char_literal): Likewise. * src/sdiff.c (edit): Likewise.
Paul Eggert
More...
almost 19 years ago
Update code comment to match previous patch.
Paul Eggert
More...
almost 19 years ago
(main): Avoid an unnecessary system call introduced in previous patch.
Paul Eggert
More...
almost 19 years ago
* src/cmp.c (type_no_stdout): New constant. (main): Use it to avoid bug when the "EOF on foo" message is generated and stdout is /dev/null.
Paul Eggert
More...
almost 19 years ago
Handle gettext.m4 like glibc21.m4. Don't remove po/en.po.
Paul Eggert
More...
about 19 years ago
Update FSF address.
Paul Eggert
More...
about 19 years ago
Describe CVS access better, using the README-alpha from GNU tar.
Paul Eggert
More...
about 19 years ago
* src/cmp.c: Don't include <setmode.h>. (specify_ignore_initial): Reword to avoid gcc -W warnings. (main): Use freopen instead of setmode, since freopen is in POSIX. * src/context.c: Revert most 2004-09-01 changes. Then: (TIMESPEC_NS): Remove. All uses replaced by get_stat_mtime_ns. Include stat-time.h, strftime.h. (nstrtime): Remove decl. * src/diff.c: Revert most 2004-09-01 changes. Then: Don't include <posixver.h>, <quotesys.h>, <setmode.h>. Include <sh-quote.h>, <stat-time.h>, <timespec.h>. All uses of quotesys replaced by sh-quote. (main, compare_files): Use freopen instead of setmode, since freopen is in POSIX. (main): Don't complain about "diff -NUM'. (main, set_mtime_to_now): Adjust to stat-time.h macros when accessing nanoseconds. * src/diff3.c: Include sh-quote.h rather than quotesys. All uses changed. * src/dir.c (dir_read): excluded_filename renamed to excluded_file_name. * src/io.c: Don't include <setmode.h>. (sip, read_files): Remove binary file stuff, leaving a FIXME behind. A DOS expert needs to look at this. * src/diff.c: Include sh-quote.h rather than quotesys.h. All uses changed. * src/system.h: Include verify.h. (verify): Remove. All uses changed to verify.h version. Include <intprops.h>. (TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM): Remove. Now uses intprops.h versions. (O_BINARY): New defns, taken from coreutils. * src/util.c: Include sh-quote.h rather than quotesys.h. All uses changed.
Paul Eggert
More...
about 19 years ago
(recursive, new_file, unidirectional_new_file, report_identical_files): Move into struct diffopt. All uses changed. (exclude_options, compare_files, specify_style, check_stdout): New arg OPT. All uses changed. (GDIFF_MAIN): Remove. All uses removed. (function_regexp_list, ignore_regexp_list): No longer static; now locals in 'main'. (main): Set opt.function_regexp, opt.ignore_regexp if using regexps; all other code now tests these pointers rather than inspecting fastmap internals. New local OPT to hold former statics; initialize it. (init_regexp_list): New function, used by main. (summarize_regexp_list): Now returns struct re_pattern_buffer *, and assumes reglist->regexps is not NULL. All uses changed.
Paul Eggert
More...
over 20 years ago
(find_function_last_search): Move into struct diffopt. All uses changed. (pr_context_label, pr_context_header, print_context_script, find_function, find_hunk, mark_ignorable, pr_context_hunk, pr_unidiff_hunk): New arg OPT. All uses changed. (print_context_number_range, print_unidiff_number_range): New arg OUT. All uses changed.
Paul Eggert
More...
over 20 years ago
Add AC_C_INLINE.
Paul Eggert
More...
over 20 years ago
(print_ed_hunk): Optimize the case where an insert's last line is a single-dot line.
Paul Eggert
More...
over 20 years ago
Initial revision
Paul Eggert
More...
over 20 years ago
Don't include <stdbool.h>, since setmode.h now does this. Include setmode.h first, to catch interface errors. Assume HAVE_SETMODE_DOS is defined.
Paul Eggert
More...
over 20 years ago
Include stdbool.h.
Paul Eggert
More...
over 20 years ago
Don't remove po/en.po.
Paul Eggert
More...
almost 21 years ago
Don't generate a temporary file, as this runs afoul of "make distcheck" which operates with read-only directories.
Paul Eggert
More...
almost 21 years ago
(EXTRA_DIST): Add bootstrap. Remove config/config.rpath as it is deduced automatically these days.
Paul Eggert
More...
almost 21 years ago
←
1
2
…
22
23
24
25
26
27
28
29
30
…
47
48
→
This site uses cookies to give you the best possible experience. By using the site, you consent to our use of cookies. For more information, please see our
Privacy Policy
Agree