# HG changeset patch # User Mike Becker # Date 1737810335 -3600 # Node ID 52802c36b261909f3f7fb056ae4bf20ff8078879 # Parent 151c057faf7c81b2a81e7edec46ac3e86856a8cf fix minor bugs in hash_key.h and streams.h docs relates to #451 diff -r 151c057faf7c -r 52802c36b261 docs/Writerside/topics/hash_key.h.md --- a/docs/Writerside/topics/hash_key.h.md Sat Jan 25 13:44:24 2025 +0100 +++ b/docs/Writerside/topics/hash_key.h.md Sat Jan 25 14:05:35 2025 +0100 @@ -20,7 +20,7 @@ The other functions do effectively the same, but * `cx_hash_key_bytes()` is strongly typed if you want to avoid passing `void*` -* `cx_hash_key_str()` conveniently takes a C string and computes the length on its own +* `cx_hash_key_str()` conveniently takes a C string and computes the length * `cx_hash_key_cxstr()` conveniently takes a [UCX string](string.h.md) In all cases, the hash will be available in the `hash` field of the returned structure. diff -r 151c057faf7c -r 52802c36b261 docs/Writerside/topics/streams.h.md --- a/docs/Writerside/topics/streams.h.md Sat Jan 25 13:44:24 2025 +0100 +++ b/docs/Writerside/topics/streams.h.md Sat Jan 25 14:05:35 2025 +0100 @@ -78,9 +78,6 @@ cxBufferDestroy(&fbuf); } else { perror("Error opening input file"); - if (fout != stdout) { - fclose(fout); - } } ```