]> Savannah Git Hosting - gnulib.git/commit
bitset: Don't access errno when it's not set.
authorBruno Haible <bruno@clisp.org>
Sun, 25 Feb 2024 15:12:57 +0000 (16:12 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 25 Feb 2024 15:12:57 +0000 (16:12 +0100)
commita235aed6a25e52eb99e1ef71c070a258dd88a3e9
tree847930dd26a10772bc17c24c2441a7a08cc047cf
parent49cb4033aeae4426076a599c1385b7802c56c919
bitset: Don't access errno when it's not set.

* lib/bitset/stats.c (bitset_stats_read): Don't use errno after neither
fread() nor ferror() has set it. On native Windows, don't use errno
after fclose().
ChangeLog
lib/bitset/stats.c