posix: Add cleanup on the trap list for globtest.sh

System Internals / glibc - Adhemerval Zanella [linaro.org] - 12 April 2017 10:01 EDT

This patch prevents lingering files for SIGSEGV failures by adding a cleanup handler on trap handler. Checked on x86_64-linux-gnu.

- posix/globtest.sh: Add cleanup routine on trap 0.

4fee33f posix: Add cleanup on the trap list for globtest.sh
ChangeLog | 4 ++++
posix/globtest.sh | 9 ++++++---
2 files changed, 10 insertions(+), 3 deletions(-)

Upstream: sourceware.org


  • Share