busybox/coreutils
Natanael Copa e880c9c100 echo: do not assume that free() leaves errno unmodified
musl libc's mallocng free() may modify errno if kernel does not support
MADV_FREE which causes echo to echo with error when it shouldn't.

Future versions of POSIX[1] will require that free() leaves errno
unmodified but til then, do not rely free() implementation.

Should fix downstream issues:
https://github.com/alpinelinux/docker-alpine/issues/134
https://gitlab.alpinelinux.org/alpine/aports/-/issues/12311

Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2021-02-23 12:59:29 +01:00
..
2018-12-28 03:20:17 +01:00
2021-02-03 20:52:40 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2021-02-03 20:52:40 +01:00
2020-12-14 20:27:57 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2021-02-03 20:52:40 +01:00
2020-12-23 02:03:04 +01:00
2017-07-21 09:50:55 +02:00
2021-02-03 20:52:40 +01:00
2018-12-28 03:20:17 +01:00
2021-02-03 20:52:40 +01:00
2018-12-28 03:20:17 +01:00
2021-02-03 20:52:40 +01:00
2020-12-13 19:04:19 +01:00
2018-12-28 03:20:17 +01:00
2021-01-04 13:28:28 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2017-08-02 14:26:33 +02:00
2021-02-03 20:52:40 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2020-12-13 19:04:19 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2019-01-07 15:20:56 +01:00
2020-12-18 04:12:51 +01:00
2021-02-03 20:52:40 +01:00
2021-02-03 20:52:40 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2019-10-07 14:25:45 +02:00
2020-12-18 04:12:51 +01:00
2018-12-28 03:20:17 +01:00
2017-07-21 09:50:55 +02:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2020-12-18 04:12:51 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2018-12-28 03:20:17 +01:00
2021-02-03 20:52:40 +01:00