summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* maint: udpate GFDL license to 1.3Jim Meyering2010-01-091-1/+1
| | | | * doc/diff.texi: Update to use GFDL version 1.3.
* build: allow compilation on cygwinEric Blake2010-01-041-1/+2
| | | | | * src/Makefile.am (cmp_LDADD): Move LIBICONV... (LDADD): ...into global flags, since all programs need it.
* maint: record update-copyright options for this packageJim Meyering2010-01-031-0/+4
| | | | * cfg.mk: Next time, just run "make update-copyright".
* tests: prepend ../src, not "." to PATHJim Meyering2010-01-031-1/+1
| | | | * tests/help-version: Correct PATH.
* maint: update all FSF copyright year lists to include 2010Jim Meyering2010-01-0144-51/+49
| | | | | | Use this command: git ls-files |grep -vE '^(\..*|COPYING|gnulib)$' |xargs \ env UPDATE_COPYRIGHT_USE_INTERVALS=1 build-aux/update-copyright
* maint: newer gnulib; don't hard-code my GPG key IDJim Meyering2009-12-312-3/+0
| | | | | * cfg.mk (gpg_key_ID): Remove definition, now that maint.mk automates it. * gnulib: Update to latest.
* tests: exercise diff -p's function-name matchingJim Meyering2009-12-312-1/+33
| | | | | | | * tests/label-vs-func: New file. * tests/Makefile.am (TESTS): Add label-vs-func. Reported by Simon Arlott <simon@fire.lp0.eu> http://article.gmane.org/gmane.linux.kernel.janitors/14260
* tests: use gnulib's init.shJim Meyering2009-12-314-410/+258
| | | | | | | | * tests/Makefile.am (EXTRA_DIST): Add init.sh. Remove test-lib.sh. * tests/init.sh: New file. * tests/test-lib.sh: Remove file. * tests/help-version: Use init.sh, not test-lib.sh.
* maint: don't let trailing spaces in diffs perturb make syntax-checkJim Meyering2009-11-281-0/+1
| | | | * .x-sc_space_tab: New file.
* build: enable warnings and -Werror.Jim Meyering2009-11-223-1/+3
| | | | | | | | * src/Makefile.am (AM_CFLAGS): Enable warnings and -Werror. Set to this: $(WARN_CFLAGS) $(WERROR_CFLAGS) * lib/Makefile.am (AM_CFLAGS): Similarly, but use this: $(GNULIB_WARN_CFLAGS) $(WERROR_CFLAGS) * configure.ac (GNULIB_WARN_CFLAGS): Don't turn off -Wuninitialized.
* build: avoid a warning from gnulib's sh-quote.cJim Meyering2009-11-221-0/+15
| | | | * gl/lib/sh-quote.c.diff: New file, to avoid a warning.
* maint: avoid warnings via patched versions of gnulib's regex functionsJim Meyering2009-11-224-0/+166
| | | | | | | * gl/lib/regcomp.c.diff: New file. * gl/lib/regex_internal.c.diff: Likewise. * gl/lib/regex_internal.h.diff: Likewise. * gl/lib/regexec.c.diff: Likewise.
* build: update gnulib submodule to latestJim Meyering2009-11-221-0/+0
|
* build: ignore more filesEric Blake2009-11-201-0/+2
| | | | | | * .gitignore: Add config.cache, *.exe. Signed-off-by: Eric Blake <ebb9@byu.net>
* build: fix test run on cygwinEric Blake2009-11-202-2/+2
| | | | | | | | This, plus a gnulib update for xalloc-die-tests, are necessary for make check to pass on cygwin. * tests/Makefile.am (built_programs): Ignore $(EXEEXT). * src/Makefile.am (paths.h): Add missing dependency.
* maint: remove vestiges of nanosleepJim Meyering2009-11-201-2/+1
| | | | | | * src/Makefile.am (LDADD): Remove $(LIB_NANOSLEEP), now that we no longer use the nanosleep module. Spotted by Eric Blake.
* maint: don't pull in gnulib's nanosleep unnecessarilyJim Meyering2009-11-201-1/+0
| | | | | * bootstrap.conf (gnulib_modules): Remove nanosleep. Not needed. Spotted by Eric Blake.
* maint: cfg.mk: remove factored-out ftp host/dir definitionsJim Meyering2009-11-202-10/+0
| | | | | | | * cfg.mk (gnu_ftp_host-alpha, gnu_ftp_host-beta gnu_ftp_host-stable): (gnu_rel_host, url_dir_list): Remove definitions. The defaults, now provided by maint.mk, are the same. * gnulib: Update for latest, including those maint.mk additions.
* build: link with now-required librariesJim Meyering2009-11-201-2/+12
| | | | | * src/Makefile.am (LDADD): Add gnulib-required libraries. (cmp_LDADD): Add $(LIBICONV), for cmp's use of proper_name_utf8.
* maint: lib/xfreopen.c contains translatable stringsJim Meyering2009-11-201-0/+1
| | | | * po/POTFILES.in: Add lib/xfreopen.c.
* maint: remove hard-coded macro definitions provided by intprops.hJim Meyering2009-11-201-17/+1
| | | | | * lib/cmpbuf.c: Include "intprops.h" rather than open-coding macros like TYPE_SIGNED and TYPE_MINIMUM.
* maint: add gnulib's announce-gen moduleJim Meyering2009-11-201-0/+1
| | | | * bootstrap.conf (gnulib_modules): Add announce-gen
* build: suppress warnings about bindtextdomain and textdomainJim Meyering2009-11-201-0/+6
| | | | * src/system.h (bindtextdomain, textdomain) [!ENABLE_NLS]: Define away.
* build: use more gnulib modulesJim Meyering2009-11-201-0/+4
| | | | | * bootstrap.conf (gnulib_modules): Add mktime, nanosleep, strptime and timegm.
* use xfreopen rather than freopenJim Meyering2009-11-204-7/+10
| | | | | | | | | * src/cmp.c: Include "xfreopen.h". Use xfreopen in place of freopen. * src/diff.c Likewise, and... (main): Set exit_failure to EXIT_TROUBLE, rather than to 2. * src/diff3.c: Likewise. * bootstrap.conf (gnulib_modules): Add xfreopen.
* build: enable many warningsJim Meyering2009-11-203-0/+84
| | | | | | * configure.ac: Add support for --enable-gcc-warnings. * bootstrap.conf (gnulib_modules): Add manywarnings. * Makefile.am (AM_CFLAGS): Add $(WARN_CFLAGS) $(WERROR_CFLAGS)
* build: update gnulib submodule to latestJim Meyering2009-11-201-0/+0
|
* maint: add an assertion to suppress clang-detected warningJim Meyering2009-11-201-2/+6
| | | | | | | | The clang static analyzer reported that a NULL parent could be dereferenced. However, that cannot happen, because for all callers, the parameter, parent, is always non-NULL at that point. * src/diff.c: Include <assert.h>. Assert that parent is not NULL.
* maint: remove dead assignment from diff3.cJim Meyering2009-11-201-1/+0
| | | | * src/diff3.c (make_3way_diff): Remove dead assignment.
* build: update gnulib submodule to latestJim Meyering2009-11-181-0/+0
|
* maint: hide build commands behind $(AM_V_GEN)Jim Meyering2009-11-182-4/+6
| | | | | * src/Makefile.am (paths.h): Use $(AM_V_GEN), and split a long line. * man/Makefile.am ($(dist_man1_MANS)): Use $(AM_V_GEN) here, too.
* build: let automake generate better man-installation rulesJim Meyering2009-11-161-3/+3
| | | | | * man/Makefile.am (dist_man1_MANS): Rename from dist_man_MANS, to enable better automake-generated installation rules.
* admin: ignore all of gnulib-testsJim Meyering2009-11-161-0/+1
| | | | * .gitignore: Add gnulib-tests
* build: avoid link failure when libsigsegv is usedEric Blake2009-11-161-1/+1
| | | | * src/Makefile.am (LDADD): Link against LIBSIGSEGV.
* maint: define/use PROGRAM_NAME and AUTHORS; use propername moduleJim Meyering2009-11-166-12/+39
| | | | | | | | | | * bootstrap.conf (gnulib_modules): Add propername. * src/cmp.c (PROGRAM_NAME, AUTHORS): Define. (main): Use them in use of version_etc. * src/diff.c (PROGRAM_NAME, AUTHORS, main): Likewise. * src/diff3.c (PROGRAM_NAME, AUTHORS, main): Likewise. * src/sdiff.c (PROGRAM_NAME, AUTHORS, main): Likewise. * src/system.h: Include "propername.h".
* maint: no longer define *_FILENO constantsJim Meyering2009-11-161-9/+0
| | | | | * src/system.h (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO): Remove definitions. Now guaranteed by gnulib.
* maint: bug-diffutils@gnu.org is the new bug-reporting addressJim Meyering2009-11-166-12/+17
| | | | | | | | | | | * configure.ac (AC_INIT): Use bug-diffutils@..., not bug-gnu-utils as the bug-reporting address. * NEWS (Administrivia): Mention this. * src/cmp.c (usage): Remove hard-coded address. Instead, use gnulib's emit_bug_reporting_address function. * src/diff.c (usage, option_help_msgid): Likewise. * src/diff3.c (usage): Likewise. * src/sdiff.c (usage): Likewise.
* sdiff, diff3: exec diff, not $(bindir)/diffJim Meyering2009-11-163-1/+6
| | | | | | | | * src/Makefile.am (paths.h): Emit a definition of DEFAULT_DIFF_PROGRAM that is simply "diff" (or whatever $(transform) would convert that to, e.g., "gdiff"). This makes it so that tests can work without first installing diff, and so that the binaries do not hard-code $(prefix). * NEWS (Changes in behavior): Mention this.
* tests: add the first script; hook up gnulib-testsJim Meyering2009-11-147-4/+686
| | | | | | | | | | * configure.ac (AC_CONFIG_FILES): Add tests/Makefile and gnulib-tests/Makefile. * tests/help-version: New file, from coreutils. * tests/test-lib.sh: Likewise. * tests/Makefile.am: New file, from gzip. * Makefile.am (SUBDIRS): Add tests and gnulib-tests. * tests/t-local.sh: New, empty(for now) file.
* build: require gettext-0.17Jim Meyering2009-11-131-1/+1
| | | | * configure.ac: Require gettext-0.17; it was released two years ago.
* build: correct gettext configure-time supportJim Meyering2009-11-131-1/+1
| | | | | | | * configure.ac: Use AM_GNU_GETTEXT([external], [need-ngettext]), rather than AM_GNU_GETTEXT([external], [need-formatstring-macros]). Reported by Martin Jacobs in http://thread.gmane.org/gmane.comp.parsers.bison.bugs/3181
* build: generalize autoheader checkJim Meyering2009-11-121-1/+1
| | | | * bootstrap: Look for AC_CONFIG_HEADER as well as AC_CONFIG_HEADERS.
* maint: use a git submodule for gnulibJim Meyering2009-11-122-0/+3
| | | | | | * .gitmodules: New file, to track gnulib. * gnulib: New file, created by running this: git submodule add git://git.sv.gnu.org/gnulib.git gnulib
* maint: tell git what it can ignoreJim Meyering2009-11-121-0/+51
| | | | * .gitignore: Ignore generated files.
* build: generate ChangeLog (from git logs) into distribution tarballJim Meyering2009-11-112-0/+16
| | | | | | * Makefile.am (dist-hook, gen-ChangeLog): New rules. (gen_start_date): Define. * bootstrap.conf (gnulib_modules): Add gitlog-to-changelog.
* admin: update all copyright notices to include the year 2009Jim Meyering2009-11-1139-60/+59
|
* maint/sc: enable the m4 quote checkJim Meyering2009-11-112-4/+3
| | | | | * m4/vararrays.m4 (AC_C_VARARRAYS): Quote AC_DEFINE argument. * cfg.mk (local-checks-to-skip): Add sc_m4_quote_check.
* build: rely on gnulib's progname moduleJim Meyering2009-11-117-21/+10
| | | | | | | | | | | | * bootstrap.conf (gnulib_modules): Add progname. * cfg.mk (local-checks-to-skip): Add sc_program_name. * src/cmp.c: Include progname.h. (program_name): Remove declaration. (main): Call set_program_name. * src/diff.c (main): Likewise. * src/diff3.c (main): Likewise. * src/sdiff.c (main): Likewise. * src/diff.h (program_name): Remove extern declaration.
* maint/sc: enable the space-TAB checkJim Meyering2009-11-113-32/+22
| | | | | | * doc/diagmeet.note: Use no TABs. * ms/config.sed: Use TAB-space, not space-TAB in []. * cfg.mk (local-checks-to-skip): Remove sc_space_tab.
* build: rely on gnulib's mbrtowc moduleJim Meyering2009-11-113-8/+1
| | | | | | | * bootstrap.conf (gnulib_modules): Add mbrtowc. * src/side.c [!HAVE_MBRTOWC]: Remove now-useless code, since gnulib guarantees working <wchar.h> and mbrtowc. * cfg.mk (local-checks-to-skip): Remove sc_prohibit_HAVE_MBRTOWC.