| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Run "make update-copyright".
|
|
|
|
| |
Run "make update-copyright".
|
|
|
|
|
|
| |
Use this command:
git ls-files |grep -vE '^(\..*|COPYING|gnulib)$' |xargs \
env UPDATE_COPYRIGHT_USE_INTERVALS=1 build-aux/update-copyright
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use EXIT_FAILURE and EXIT_SUCCESS, not 1 and 0.
Apply these commands:
perl -pi -e 's/\berror \(1,/error (EXIT_FAILURE,/' \
$(git grep -l '\<error (1,')
perl -pi -e 's/\bexit \(1\)/exit (EXIT_FAILURE)/' \
$(git grep -l '\<exit (1)')
perl -pi -e 's/\bexit \(0\)/exit (EXIT_SUCCESS)/' \
$(git grep -l '\<exit (0)')
* libidu/idread.c (read_id_file, maybe_read_id_file, io_read):
* libidu/idu-hash.c (hash_init):
* libidu/idwrite.c (io_write):
* libidu/scanners.c (parse_language_map, parse_language_map_file):
(read_language_map_file):
* libidu/walker.c (include_languages, exclude_languages):
(get_current_dir_link):
* src/fid.c (usage, help_me, main):
* src/fnid.c (usage, help_me, main):
* src/lid.c (usage, help_me, main, report_grep, report_edit):
(query_regexp):
* src/mkid.c (main, assert_writeable, write_id_file):
* src/xtokid.c (help_me):
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now that gnulib's exclude module uses gnulib's hash module,
which includes a hash.h file, idutils' use of a hash.h file conflicted.
Rename the one here in idutils:
* libidu/idu-hash.c: Rename from hash.c.
* libidu/idu-hash.h: Rename from hash.h.
* libidu/idfile.h: Reflect renaming.
* libidu/idread.c: Likewise.
* libidu/idwrite.c: Likewise.
* src/mkid.c: Likewise.
* libidu/Makefile.am: Likewise.
|
|
|
|
|
|
|
| |
* libidu/idwrite.c: include "ignore-value.h".
(io_write): Ignore fwrite return value.
* libidu/idread.c: Likewise for fread.
* bootstrap.conf (gnulib_modules): Add ignore-value.
|
|
|
|
|
| |
* libidu/idread.c (TOK_COUNT_ADDR): Remove unused macro.
(TOK_HITS_ADDR): 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>
|
| |
|
| |
|
| |
|
|
|
|
|
| |
to fopen mode string. [From tbisp@uswest.net]
* src/lid.c (report_grep): Change name of gid_FILE to source_FILE.
|
|
|