aboutsummaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-misc/exitcode_trap2.tests
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2021-01-22 08:35:55 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2021-02-23 12:59:29 +0100
commite880c9c100028e6b0e805d4637139c67aea83748 (patch)
treed521d1378a6782ca6f6a3c53fbcc7df05630454f /shell/ash_test/ash-misc/exitcode_trap2.tests
parent760b627e2ac6aedbf604040951280eaaf75939a8 (diff)
downloadbusybox-e880c9c100028e6b0e805d4637139c67aea83748.tar.gz
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>
Diffstat (limited to 'shell/ash_test/ash-misc/exitcode_trap2.tests')
0 files changed, 0 insertions, 0 deletions