| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* libidu/dynvec.c (make_dynvec):
* libidu/scanners.c (parse_language_map_file, parse_args_c)
(parse_args_asm, parse_args_text):
|
|
|
|
|
|
|
|
| |
* libidu/dynvec.c (make_dynvec, dynvec_freeze, dynvec_append):
Use xnmalloc, not xmalloc (n * sizeof T).
Use xnrealloc, not xrealloc (p, n * sizeof T).
* libidu/walker.c (append_strings_to_vector, vectorize_string): Likewise.
* libidu/scanners.c (tokenize_args_string): Likewise.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libidu/idread.c (deserialize_file_links): Fix typo (or think-o).
Here's what valgrind reported:
Invalid write of size 4
at 0x804A15A: deserialize_file_links (idread.c:132)
by 0x8049DEE: maybe_read_id_file (idread.c:74)
by 0x8049C64: read_id_file (idread.c:46)
by 0x80492FB: main (fid.c:170)
Address 0x41EB944 is 628 bytes inside a block of size 629 alloc'd
at 0x4022765: malloc (vg_replace_malloc.c:149)
by 0x80516BC: xnmalloc_inline (xmalloc.c:49)
by 0x80516EE: xmalloc (xmalloc.c:65)
by 0x8049E2F: deserialize_file_links (idread.c:87)
by 0x8049DEE: maybe_read_id_file (idread.c:74)
by 0x8049C64: read_id_file (idread.c:46)
by 0x80492FB: main (fid.c:170)
Signed-off-by: Jim Meyering <meyering@redhat.com>
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
| |
Signed-off-by: Jim Meyering <meyering@redhat.com>
|
|
|
|
|
|
| |
Add ChangeLog to .gitignore.
Signed-off-by: Jim Meyering <meyering@redhat.com>
|
|
|
|
| |
Signed-off-by: Jim Meyering <meyering@redhat.com>
|
|
|
|
| |
Signed-off-by: Jim Meyering <meyering@redhat.com>
|
|
|
|
|
|
|
| |
* distribute.sh: Remove file. Now, use "make alpha", "make stable", etc.
and follow resulting instructions that tell how to invoke build-aux/gnupload.
Signed-off-by: Jim Meyering <meyering@redhat.com>
|
|
|
|
| |
Signed-off-by: Jim Meyering <meyering@redhat.com>
|
|
|
|
|
|
|
|
| |
* testsuite/infloop-kawa-el: Invoke mkid with -m, since
id-lang.map may not be installed yet.
* testsuite/Makefile.am (TESTS_ENVIRONMENT): Set abs_top_srcdir.
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>
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
* libidu/hash.c (hash_rehash): Remove cast.
(hash_init): Likewise.
Signed-off-by: Jim Meyering <meyering@redhat.com>
|
|
|
|
|
|
|
|
| |
* libidu/walker.c: Don't include <strsep.h>.
* libidu/idfile.c: Likewise.
* libidu/scanners.c: Likewise.
Signed-off-by: Jim Meyering <meyering@redhat.com>
|
|
|
|
|
|
| |
Also remove all intl/ files.
Signed-off-by: Jim Meyering <meyering@redhat.com>
|
| |
|
| |
|
| |
|
|
|
|
| |
* Makefile.am (distcheck-hook): New rule.
|
|
|
|
|
| |
* lisp/idutils.el: Fix comments.
(gid): Add autoload comment.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
(gid-mode-font-lock-keywords): New variable.
(gid-use-search-in-buffer-name): New variable.
(gid-mode): New mode.
(gid): Use compilation-start, thing-at-point.
(word-around-point): Removed.
Details in <http://thread.gmane.org/gmane.comp.gnu.idutils.bugs/70>.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* libidu/scanners.c (get_token_lisp): Disable the code that
treats '[]' as part of a kawa identifier. It could call ungetc
two or three times in a row. One is the maximum.
* testsuite/infloop-kawa-el: New file. Test for the above.
* testsuite/Makefile.am (TESTS): Add infloop-kawa-el.
(TESTS_ENVIRONMENT): Prepend build directory to PATH so that
invoking e.g., "mkid" runs the just-built version of the tool.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* change package suffix to cvs
|
| |
|