| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
| |
* doc/idutils.texi (Top): Rearrange menu.
(Quick start): Use @itemize and @item.
(Common options): Rearrange menu.
(Walker options): Use @item, not @itemx.
(Past and Future): Use @itemize and @item.
|
|
|
|
|
|
| |
* doc/idutils.texi: Do not require front- or back-cover text,
thus making this section the same as gzip's, so this may be
included in Debian's "free" (rather than non-free) archive.
|
| |
|
|
|
|
|
|
|
|
| |
Anyone building from cloned sources can be assumed to have a new
enough environment, such that enabling gcc warnings by default will
be useful. Tarballs still default to no warnings, and the default
can still be overridden with --disable-gcc-warnings.
* configure.ac (gl_gcc_warnings): Set default based on environment.
|
|
|
|
|
|
|
|
|
|
|
| |
* libidu/idfile.h (stzncpy): Define, from coreutils.
* src/lid.c (query_ambiguous_prefix): Avoid buffer overrun.
Using strncpy to copy a too-long name would result in a "name"
that is not NUL-terminated, yet that name would be treated as
a NUL-terminated string immediately afterwards, via report_func,
which attempts to print it.
* libidu/fnprint.c (root_name): Use stzncpy in place of strncpy.
* NEWS (Bug fixes): Mention the bug fix.
|
|
|
|
|
| |
* Makefile.am (ALL_RECURSIVE_TARGETS): Define.
(distcheck-hook): Depend on syntax-check.
|
|
|
|
|
| |
* cfg.mk (old_NEWS_hash): Update to reflect typo fix in old NEWS.
* doc/idutils.texi: Add "." before @xref.
|
| |
|
|
|
|
|
|
|
| |
Found using https://github.com/lyda/misspell-check
* ChangeLog-2007: As above.
* NEWS: Likewise.
* src/mkid.c: Likewise.
|
|
|
|
|
|
| |
* bootstrap.conf (avoided_gnulib_modules): Don't exclude
get-rusage-as-tests. That test has now been fixed.
* gnulib: Update to latest, for fixed get-rusage-as-tests.
|
|
|
|
|
|
| |
* cfg.mk (url_dir_list): Use this http://ftp.gnu.org/gnu/$(PACKAGE)
for the first link listed in the generated announcement.
announce-gen now provides the faster mirror link automatically.
|
|
|
|
|
|
| |
* NEWS: Add header line for next release.
* .prev-version: Record previous version.
* cfg.mk (old_NEWS_hash): Auto-update.
|
|
|
|
| |
* NEWS: Record release date.
|
|
|
|
|
|
|
| |
* bootstrap.conf (gnulib_modules): Add readme-release.
(bootstrap_epilogue): Substitute.
* README-release: Remove file.
* .gitignore: Update.
|
|
|
|
|
|
|
|
|
| |
* testsuite/check.mk (LOG_COMPILER): Define.
(TESTS_ENVIRONMENT): Adapt to work with the upcoming automake-1.12;
use "; 9>&2" at end. Move shell-or-perl to ...
* testsuite/shell-or-perl: ... new helper script from coreutils.
* testsuite/CuSkip.pm: New file, from coreutils.
* testsuite/Makefile.am (EXTRA_DIST): Add CuSkip.pm and shell-or-perl.
|
|
|
|
|
|
|
|
| |
* cfg.mk (update-copyright-env): Add UPDATE_COPYRIGHT_FORCE=1
to rejoin some split lines, and UPDATE_COPYRIGHT_USE_INTERVALS=2
to make update-copyright use only one year range.
* gnulib: Update.
* testsuite/files0-from: Adapt to gnulib's change from `q' to 'q'.
|
|
|
|
|
|
|
|
|
|
|
| |
* bootstrap: Update from gnulib.
* testsuite/init.sh: Update from gnulib.
* bootstrap.conf (bootstrap_epilogue): Remove now-unnecessary,
snippet that edited gnulib-tests/gnulib.mk.
(gnulib_tool_option_extras): Add both --symlink and
--makefile-name=gnulib.mk. Remove use of $bt.
* lib/Makefile.am: Initialize numerous automake variables so that
generated code in gnulib.mk may use += to append to them.
|
|
|
|
|
|
|
|
| |
* src/mkid.c (check_hits): Change semantics to avoid the warning
that this assert-containing function could be declared with the
"pure" attribute. Instead, return 0/1, declare "pure" and let
the caller perform the assertion. Rename from assert_hits.
Add a comment.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/mkid.c (ceil_log_8, ceil_log_2): Add "const" attribute.
(token_hash_1, token_hash_2): Add "pure" attribute.
(token_hash_cmp, token_qsort_cmp): Likewise.
(count_vec_size, count_buf_size): Likewise.
* libidu/idu-hash.c (round_up_2): Add "const" attribute.
* libidu/scanners.h (get_language): Add "pure" attribute.
* libidu/idfile.h (token_flags): Likewise.
(token_count): Likewise.
(member_file_qsort_compare): Likewise.
(tree8_count_levels): Add "const" attribute.
* libidu/walker.c (symlink_ancestry): Add "pure" attribute.
(links_depth): Likewise.
(file_link_hash_1): Likewise.
(vector_length): Likewise.
(file_link_hash_compare): Likewise.
(string_in_vector): Likewise.
* src/lid.c (vector_cardinality, get_radix, dtoi, otoi): Likewise.
(is_regexp): Likewise.
(vector_length): Remove forward decl and move function definition
to precede first use.
|
|
|
|
|
|
| |
* configure.ac: Disable -Winline, at least temporarily due to number
of warnings, and low priority, and disable -Wformat-nonliteral, due
to inherent false positives.
|
|
|
|
|
|
|
|
|
|
| |
* man/Makefile.am (defid.1): New dependency.
(programs): Use both $(PROGRAMS) and $(SCRIPTS).
(check-x-vs-1): Use tr, not fmt, for portability. Use AM_V_GEN.
(programs): Likewise.
(check-programs-vs-x): Use AM_V_GEN. Remove coreutils-specific code.
(t, mapped_name): Remove definitions of unused variables.
(.x.1): Remove obsolete comment. Use AM_V_GEN, not echo.
|
|
|
|
|
| |
* bootstrap.conf (avoided_gnulib_modules): Disable the get-rusage-as
test: it's failing.
|
|
|
|
|
|
| |
* libidu/idfile.h: Include <sys/types.h> unconditionally.
I.e., drop the now-redundant #if HAVE_SYS_TYPES_H guard.
gnulib guarantees the presence of that header.
|
|
|
|
| |
Run "make update-copyright".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Likewise, when an empty file is expected, use "compare /dev/null out",
not "compare out /dev/null". I.e., specify the expected/desired contents
via the first file name. Prompted by a suggestion from Bruno Haible
in http://thread.gmane.org/gmane.comp.gnu.grep.bugs/4020/focus=29154
Run these commands:
git grep -l -E 'compare [^ ]+ exp' \
|xargs perl -pi -e 's/\b(compare) (\S+) (exp\S*)/$1 $3 $2/'
git grep -l -E 'compare [^ ]+ /dev/null' \
|xargs perl -pi -e 's,\b(compare) (\S+) (/dev/null),$1 $3 $2,'
[here, there were none of the latter]
|
| |
|
|
|
|
|
|
|
| |
defid *does* support --help and --version, but only when gid
is already in your shell's search path. That is not the case
for the first pre-install build.
* src/Makefile.am (AM_INSTALLCHECK_STD_OPTIONS_EXEMPT): Define.
|
|
|
|
| |
* bootstrap.conf (gnulib_modules): Remove module. It no longer exists.
|
|
|
|
| |
* bootstrap: Update.
|
|
|
|
| |
* configure.ac (AM_INIT_AUTOMAKE): Add no-dist-gzip.
|
|
|
|
| |
* testsuite/init.sh: Update from gnulib.
|
|
|
|
|
|
| |
* testsuite/lid-radix: New file.
* testsuite/Makefile.am (TESTS): Add it.
* NEWS (Bug fixes): Mention it.
|
|
|
|
|
|
| |
* src/lid.c (radix_flag): Initialize to 0, not radix_all.
(main): Map 0 to the default, radix_all.
Tiny change.
|
|
|
|
|
| |
* cfg.mk (local-checks-to-skip): Add sc_prohibit_path_max_allocation
to the list of skipped syntax-check rules. This is temporary.
|
|
|
|
|
|
| |
* cfg.mk: Include $(srcdir)/dist-check.mk using "-include",
to accommodate the new sc_tight_scope rule.
* gnulib: Update to latest.
|
|
|
|
|
|
|
| |
* testsuite/lid-range: New file with tests based on a report by Shigio
YAMAGUCHI in http://thread.gmane.org/gmane.comp.gnu.idutils.bugs/137
* testsuite/Makefile.am (TESTS): Add it.
* NEWS (Bug fixes): Mention the bug fix.
|
|
|
|
|
| |
* src/lid.c (parse_frequency_arg): lid -F 2.. would mistakenly
act like "lid -F 2" and "lid -F ..2" would act like "lid F 1"
|
|
|
|
|
|
|
| |
* cfg.mk (_gl_TS_headers): Define.
(_gl_TS_obj_files): Likewise.
* src/Makefile.am (sc_tight_scope): Remove rule.
* gnulib: Update to latest.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead, use the new mechanism with which you merely use a
variable (derived from the rule name) defined in cfg.mk to an ERE
matching the exempted file names.
* gnulib: Update to latest, to get maint.mk that implements this.
* .x-sc_cast_of_argument_to_free: Remove file.
* .x-sc_program_name: Likewise.
* .x-sc_prohibit_always_true_header_tests: Likewise.
* .x-sc_require_config_h: Likewise.
* .x-sc_require_config_h_first: Likewise.
* Makefile.am (EXTRA_DIST): Remove them from here, too.
* cfg.mk: Define variables to exempt the same files.
|
|
|
|
|
|
| |
* libidu/scanners.c: As above.
* libidu/walker.c: Likewise.
* src/mkid.c: Likewise.
|
|
|
|
|
| |
* bootstrap.conf (avoided_gnulib_modules): Do not use --avoid=lock.
That would lead to compilation failure of the localenames.c test.
|
|
|
|
|
|
|
|
| |
* .x-sc_program_name: Exempt main programs in testsuite/.
* .x-sc_prohibit_always_true_header_tests: New file, to exempt
src/lid.c from test for uses of cpp conditional, HAVE_TERMIOS_H.
It looks like lid.c's uses (of struct termios) cannot be guaranteed
to work with gnulib's replacement.
|
|
|
|
| |
* src/lid.c: Remove empty #if...#endif blocks.
|
|
|
|
|
| |
* cfg.mk (local-checks-to-skip): Add sc_bindtextdomain.
Remove references to rules that are no longer in maint.mk.
|
|
|
|
| |
Run "make update-copyright".
|
| |
|
|
|
|
| |
* libidu/walker.c: fixed condition.
|
|
|
|
|
| |
* README: Mention coreutils' long-standing policy on use of M-N
ranges in copyright year lists. Requested by Richard Stallman.
|