]> Savannah Git Hosting - gnulib.git/commit
dirent: Improve GCC 11 allocation-deallocation checking.
authorBruno Haible <bruno@clisp.org>
Sat, 7 Aug 2021 16:05:44 +0000 (18:05 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 7 Aug 2021 16:05:44 +0000 (18:05 +0200)
commitd57726cabd19ee22e9ab9c00ca53bc7eaa368f8e
treeba827e476ec1a5bdefc9a6ff318dd78f5c4375ae
parente78a8a2df97b81141890b7a30413f4d03eccfcb8
dirent: Improve GCC 11 allocation-deallocation checking.

* lib/dirent.in.h (closedir): Move declaration up.
(opendir, fdopendir): Declare that that deallocation must happen through
'closedir'.
* lib/dirent-safer.h (opendir_safer): Likewise.
* lib/opendirat.h (opendirat): Likewise.
ChangeLog
lib/dirent-safer.h
lib/dirent.in.h
lib/opendirat.h