Merge branch 'jk/test-hashmap-updates'
authorJunio C Hamano <gitster@pobox.com>
Tue, 27 Feb 2018 18:34:02 +0000 (10:34 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 27 Feb 2018 18:34:02 +0000 (10:34 -0800)
Code clean-up.

* jk/test-hashmap-updates:
test-hashmap: use "unsigned int" for hash storage
test-hashmap: simplify alloc_test_entry
test-hashmap: use strbuf_getline rather than fgets
test-hashmap: use xsnprintf rather than snprintf
test-hashmap: check allocation computation for overflow
test-hashmap: use ALLOC_ARRAY rather than bare malloc

Trivial merge