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-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-12-21 15:25:25 +00:00
2019-07-02 16:51:13 +02:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-12-24 06:02:05 +05:30
2020-12-29 00:46:46 -08:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-12-29 00:46:46 -08:00
2020-08-31 14:22:06 -03:00
2014-01-02 09:40:10 +01:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:21:22 +00:00
2020-01-01 00:21:22 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:21:22 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-11-13 12:59:19 -03:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-12-04 17:15:53 -05:00
2020-07-13 19:36:35 +02:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-12-29 00:46:46 -08:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-03 11:22:07 -03:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-09-17 18:49:30 -04:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2018-02-10 16:24:17 -05:00
2020-08-31 14:22:06 -03:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2016-12-31 23:49:24 +05:30
2016-12-31 23:49:24 +05:30
2016-12-31 23:49:24 +05:30
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-02-27 13:43:57 -03:00
2019-06-10 22:12:08 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-08-31 14:22:06 -03:00
2014-11-05 15:24:08 +05:30
2020-01-01 00:14:33 +00:00
2020-01-17 15:05:34 +01:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-04-03 07:20:56 -04:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-10-30 14:47:29 -04:00
2020-01-01 00:14:33 +00:00
2007-12-16 22:57:57 +00:00
2020-01-01 00:14:33 +00:00
2020-09-17 18:49:30 -04:00