summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Allocate safely.Jim Meyering2008-01-303-9/+10
| | | | | | | | * 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.
* Use xstrdup, not strdup.Jim Meyering2008-01-305-11/+12
| | | | | | | | | * 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.
* fid: avoid buffer overrun.Jim Meyering2008-01-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | * 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>
* Replace uses of xrealloc with uses of safer variants.Jim Meyering2008-01-141-7/+11
| | | | | | | * 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>
* src/mkid.c: Remove now-unused declaration of dirname.Jim Meyering2008-01-141-2/+0
| | | | Signed-off-by: Jim Meyering <meyering@redhat.com>
* lisp/idutils.el: Restore "Version: ..." comment.Jim Meyering2008-01-141-1/+3
| | | | Signed-off-by: Jim Meyering <meyering@redhat.com>
* Ensure that a ChangeLog file exists before running automake.Jim Meyering2008-01-142-0/+5
| | | | | | Add ChangeLog to .gitignore. Signed-off-by: Jim Meyering <meyering@redhat.com>
* Convert to coreutils-flavored gnulib.Jim Meyering2008-01-1419-262/+1751
| | | | Signed-off-by: Jim Meyering <meyering@redhat.com>
* ChangeLog-2007: Rename from ChangeLog.Jim Meyering2008-01-141-0/+0
| | | | Signed-off-by: Jim Meyering <meyering@redhat.com>
* distribute.sh: Remove now-unused file.Jim Meyering2008-01-141-209/+0
| | | | | | | * 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>
* Update copyright year.Jim Meyering2008-01-141-1/+1
| | | | Signed-off-by: Jim Meyering <meyering@redhat.com>
* Avoid a test failure.Jim Meyering2008-01-142-1/+3
| | | | | | | | * 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>
* Mark diagnostics for translation.Jim Meyering2008-01-143-5/+6
| | | | | | | | * 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>
* Put at least two spaces between an option and its description.Jim Meyering2008-01-143-6/+7
| | | | | | | | | 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>
* Adjust indentation in ChangeLog to use only TABs.Jim Meyering2008-01-141-9/+9
| | | | Signed-off-by: Jim Meyering <meyering@redhat.com>
* Avoid SPACE-TAB.Jim Meyering2008-01-142-3/+3
| | | | | | | * testsuite/consistency: Use TAB-SPACE, instead. * src/defid: Likewise. Signed-off-by: Jim Meyering <meyering@redhat.com>
* Don't cast x*alloc return value.Jim Meyering2008-01-141-3/+3
| | | | | | | * libidu/hash.c (hash_rehash): Remove cast. (hash_init): Likewise. Signed-off-by: Jim Meyering <meyering@redhat.com>
* Don't include <strsep.h>. Now it's guaranteed to be in <string.h>.Jim Meyering2008-01-043-6/+3
| | | | | | | | * libidu/walker.c: Don't include <strsep.h>. * libidu/idfile.c: Likewise. * libidu/scanners.c: Likewise. Signed-off-by: Jim Meyering <meyering@redhat.com>
* Remove files now pulled from gnulib.Jim Meyering2008-01-04263-55302/+0
| | | | | | Also remove all intl/ files. Signed-off-by: Jim Meyering <meyering@redhat.com>
* ChangeLog up to date.Pedro J. Ruiz Lopez2007-08-171-0/+6
|
* License upgrade to "GPL-3 or later"Pedro J. Ruiz Lopez2007-08-1724-378/+712
|
* Upgraded pl.po file to lastest versionPedro J. Ruiz Lopez2007-08-171-427/+257
|
* Ensure that idutils.el's "Version:" comment stays up to date.Jim Meyering2007-07-112-1/+17
| | | | * Makefile.am (distcheck-hook): New rule.
* Adjust idutils.el comments to work with package.el.Jim Meyering2007-07-112-1/+12
| | | | | * lisp/idutils.el: Fix comments. (gid): Add autoload comment.
* Add a one-line summary to explain "why".Jim Meyering2007-06-271-2/+2
|
* *** empty log message ***Pedro J. Ruiz Lopez2007-06-262-1/+6
|
* * lisp/idutils.el: Require thingatpt.Jim Meyering2007-06-232-19/+34
| | | | | | | | | (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>.
* * intl/libgnuintl.h_vms remove unwanted old filePedro J. Ruiz Lopez2007-02-181-383/+0
|
* * Fix warning for redefined cpp macrosPedro J. Ruiz Lopez2007-02-182-1/+17
|
* Upgrade to gettext 0.16.1Pedro J. Ruiz Lopez2007-02-1853-2534/+3587
|
* * upgraded gnulibPedro J. Ruiz Lopez2007-02-12100-1632/+1975
|
* * upgraded gnulibPedro J. Ruiz Lopez2007-02-1211-0/+1249
|
* remove trailing blanksJim Meyering2007-01-191-7/+7
|
* Temporary fix simply to avoid the infloop.Jim Meyering2007-01-194-3/+77
| | | | | | | | | | * 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.
* * updated TODOClaudio Fontana2007-01-111-1/+15
|
* * provide rough support for lisp character constantsClaudio Fontana2006-11-252-1/+18
|
* * fix lisp string parsingClaudio Fontana2006-10-192-2/+7
|
* *** empty log message ***Claudio Fontana2006-09-201-4/+8
|
* *** empty log message ***Claudio Fontana2006-08-221-0/+5
|
* * fix typoClaudio Fontana2006-08-221-1/+3
|
* *** empty log message ***Claudio Fontana2006-08-051-3/+3
|
* * s/C++/Cpp/ to avoid problems in info fileClaudio Fontana2006-08-051-3/+3
|
* * remove ifinfoClaudio Fontana2006-08-051-2/+0
|
* * latest CVS buildClaudio Fontana2006-08-052-1/+5
|
* * 4.2 releaseClaudio Fontana2006-08-052-1/+5
|
* * update distribute scriptIDUTILS-4_2Claudio Fontana2006-08-051-45/+147
|
* * remove wrong duplicate entries in ChangeLogClaudio Fontana2006-07-311-7/+0
|
* * add missing 'release' entries in ChangeLogClaudio Fontana2006-07-222-1/+8
| | | | * change package suffix to cvs
* * add missing checks for terminal-related include filesClaudio Fontana2006-07-224-2/+5
|
* * provide replacement for lstat in a convoluted way,Claudio Fontana2006-07-2211-140/+168
| | | | to workaround AC_REPLACE_FUNC / gnulib shortcomings