| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libidu/scanners.c (long_options_c, long_options_asm)
(long_options_text, long_options_perl): Add initializers.
* src/fid.c (long_options): Add initializers.
* src/fnid.c (long_options): Add initializers.
* src/lid.c (ATTRIBUTE_UNUSED): Define.
(long_options): Add initializers.
(report_nothing): Mark parameter as unused.
(get_editor_argv, report_edit): Adjust for const-correctness.
* src/mkid.c (long_options): Add initializers.
(report_statistics): Don't subtract "void*" pointers. Cast to "char*".
* src/xtokid.c (long_options): Add initializers.
|
|
|
|
|
|
|
|
|
|
| |
* libidu/scanners.c (languages_0, long_options_c): Likewise.
(long_options_asm, long_options_text, long_options_perl): Likewise.
* src/fid.c (long_options): Likewise.
* src/fnid.c (long_options): Likewise.
* src/lid.c (long_options): Likewise.
* src/mkid.c (long_options): Likewise.
* src/xtokid.c (long_options): Likewise.
|
|
|
|
|
|
|
|
| |
* libidu/scanners.c (long_options_c, long_options_asm): Add "const".
(long_options_text, long_options_perl): Likewise.
* src/fnid.c (long_options): Likewise.
* src/lid.c (long_options): Likewise.
* src/xtokid.c (long_options): Likewise.
|
|
|
|
|
|
|
|
|
|
|
| |
* bootstrap.conf (gnulib_modules): Add progname.
* src/mkid.c: Include "progname.h".
(program_name): Remove declaration.
(main): Call set_program_name rather than setting program_name.
* src/fid.c: Likewise.
* src/fnid.c: Likewise.
* src/lid.c: Likewise.
* src/xtokid.c: Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/lid.c: Include "lid.h".
(main): Set defaults based on new global, lid_mode.
* src/Makefile.am (bin_PROGRAMS): Add aid, eid, gid.
(dist_bin_SCRIPTS): Remove them from this list.
(noinst_HEADERS, aid_SOURCES, eid_SOURCES): Define.
(gid_SOURCES, lid_SOURCES): Define.
* src/aid, src/eid, src/gid: Remove scripts.
* src/lid-aid.c, src/lid-eid.c, src/lid-gid.c, src/lid-lid.c:
* src/lid.h: New files.
* man/Makefile.am (aid.1, eid.1, gid.1): Adjust dependencies.
* .gitignore: Add src/aid, src/eid, src/gid.
|
|
|
|
| |
* src/mkid.c (write_id_file): Test ferror, too.
|
|
|
|
|
|
|
|
|
|
| |
* src/fid.c: Include "closeout.h".
(main): Use it via atexit.
* src/fnid.c (main): Likewise.
* src/lid.c (main): Likewise.
* src/mkid.c (main): Likewise.
* src/xtokid.c (main): Likewise.
* NEWS: Mention the bug fixes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mark with "extern" the symbols that belong that way.
Make the others static.
* libidu/dynvec.h (dv_fill):
* libidu/fnprint.c (cw_dlink):
* libidu/hash.h (qsort_cmp_t):
* libidu/idfile.h (io_func_t):
* libidu/scanners.c (lang_args_obstack, languages_0, languages_N):
(language_help_me, language_getopt, get_language):
(lang_args_index):
* libidu/walker.c (largest_member_file):
* maint.mk (extract_char, today):
* src/fid.c (long_options):
* src/fnid.c (cw_dlink):
* src/lid.c (cw_dlink):
* src/xtokid.c (cw_dlink):
|
| |
|
| |
|
|
|
|
|
| |
Remove the few that were thus exposed as being unused.
Remove some unused prototypes.
|
|
|
|
|
| |
* src/Makefile.am (sc_tight_scope): Add /dev/null as an argument
to the sed-based variable filter, in case $(noinst_HEADERS) is empty.
|
|
|
|
|
| |
* src/lid.c (linetty): Remove unused function.
(file_name_wildcard): Likewise.
|
| |
|
| |
|
|
|
|
|
| |
* cfg.mk (local-checks-to-skip): Don't skip sc_tight_scope anymore.
* src/Makefile.am (sc_tight_scope): New rule. From coreutils.
|
| |
|
|
|
|
|
|
|
|
|
| |
This fixes a test failure that would occur when "aid"
is not already installed anywhere in your search PATH.
* src/aid: chmod a+x.
* src/eid: Likewise.
* src/gid: Likewise.
Reported by Bob Proulx.
|
|
|
|
| |
* src/mkid.c (report_statistics): Cast ptrdiff_t to unsigned long long.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* README-alpha:
* TODO:
* doc/idutils.texi:
* libidu/scanners.c (set_uchar_ctype, ARGS, get_token_lisp):
* src/Makefile.am:
* src/fid.c (main):
* src/lid.c (report_edit):
* Makefile.cfg (local-checks-to-skip): Remove sc_trailing_blank,
thus enabling that check.
|
|
|
|
|
|
|
|
|
| |
* src/lid.c (get_editor_argv): Use xstrdup, not strdup.
* libidu/walker.c (get_current_dir_link): Likewise.
* libidu/idfile.c: Include "xalloc.h".
(locate_id_file_name): Handle failed strdup.
* libidu/scanners.c (parse_args_text, parse_args_perl): Likewise.
(parse_args_c, parse_args_asm): Likewise.
|
|
|
|
|
|
|
| |
* src/mkid.c (write_id_file): Avoid risk of overflow.
(make_sibling_summary, add_token_to_summary): Likewise.
Signed-off-by: Jim Meyering <meyering@redhat.com>
|
|
|
|
| |
Signed-off-by: Jim Meyering <meyering@redhat.com>
|
|
|
|
|
|
|
|
| |
* src/mkid.c (main): Mark with _(...).
* libidu/walker.c (exclude_languages, include_languages): Likewise.
* src/lid.c (report_grep): Likewise.
Signed-off-by: Jim Meyering <meyering@redhat.com>
|
|
|
|
|
|
|
|
|
| |
help2man requires this.
* src/lid.c: Add another space before the description.
* src/mkid.c: Likewise.
* src/xtokid.c: Likewise.
Signed-off-by: Jim Meyering <meyering@redhat.com>
|
|
|
|
|
|
|
| |
* testsuite/consistency: Use TAB-SPACE, instead.
* src/defid: Likewise.
Signed-off-by: Jim Meyering <meyering@redhat.com>
|
| |
|
| |
|
|
|
|
| |
to workaround AC_REPLACE_FUNC / gnulib shortcomings
|
| |
|
|
|
|
|
| |
* apply EDITOR env variable patch
* updated ChangeLog
|
| |
|
|
|
|
| |
* src/lid.c: fix bug in pattern recognition in is_number()
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* other small changes
|
| |
|
| |
|
| |
|
|
|
|
| |
added test case
|
|
|
|
| |
off_t portably using offtostr()
|
|
|
|
| |
Added some missing files in po/ and updated intl/
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
maybe_add_word_delimiters--action is now unconditional.
(query_literal_word): Call query_literal_substring if ignoring case.
(query_literal_prefix): Call query_regexp if ignoring case.
(query_regexp): Test delimiter_style before calling
add_regexp_word_delimiters.
(query_literal_substring): Add local var arg_length.
Handle word matches which can happen when ignoring case.
Add local var match.
|