| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/hash.c (hash_print_stats, hash_dump): Add const.
* libidu/hash.h: Likewise.
* src/mkid.c (scan_files): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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):
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* hash.c (hash_init): Initialize ht_empty_slots. Don't halve
ht_size. (hash_find_slot) Return deleted slot, if available.
(hash_insert_at): Decrement ht_empty_slots if one is consumed.
Rehash if emtpy slots become too scarce. (hash_free_items,
hash_deleted_item, hash_free): Re-initialize ht_empty_slots.
(hash_rehash): Don't double table size if rehashing only because
table is clogged with deleted slots.
|
|
|