]> Savannah Git Hosting - gnulib.git/commit
New module hashkey-string.
authorBruno Haible <bruno@clisp.org>
Tue, 29 Apr 2025 23:20:17 +0000 (01:20 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 29 Apr 2025 23:20:17 +0000 (01:20 +0200)
commit52738dcd0f522b16653cc8b21adfcb758702f2ab
tree5b92b0bcbbe1fbbde01396497ca333d637ed9365
parent3748256978cd900c0404c09ab22c3b5a2f35e031
New module hashkey-string.

* lib/hashkey-string.h: New file.
* lib/hashkey-string.c: New file, based on lib/clean-temp-simple.c.
* modules/hashkey-string: New file.
* lib/clean-temp-simple.c: Include hashkey-string.h. Don't include
<limits.h>.
(clean_temp_string_equals, clean_temp_string_hash): Remove functions.
(SIZE_BITS): Remove macro.
(register_temporary_file): Use hashkey_string_equals and
hashkey_string_hash.
* modules/clean-temp-simple (Depends-on): Add hashkey-string.
ChangeLog
lib/clean-temp-simple.c
lib/hashkey-string.c [new file with mode: 0644]
lib/hashkey-string.h [new file with mode: 0644]
modules/clean-temp-simple
modules/hashkey-string [new file with mode: 0644]