Paul Eggert 69fda43b8d free: preserve errno [BZ#17924]
In the next release of POSIX, free must preserve errno
<https://www.austingroupbugs.net/view.php?id=385>.
Modify __libc_free to save and restore errno, so that
any internal munmap etc. syscalls do not disturb the caller's errno.
Add a test malloc/tst-free-errno.c (almost all by Bruno Haible),
and document that free preserves errno.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2020-12-29 00:46:46 -08:00
..
2020-12-24 06:02:05 +05:30
2020-12-29 00:46:46 -08:00
2020-12-29 00:46:46 -08:00
2014-01-02 09:40:10 +01:00
2020-09-17 18:49:30 -04:00
2020-04-03 07:20:56 -04:00
2007-12-16 22:57:57 +00:00
2020-09-17 18:49:30 -04:00