[PATCH] posix: Add SIGSEGV on the trap list for globtest.sh
Florian Weimer
fweimer@redhat.com
Wed Apr 12 13:19:00 GMT 2017
On 04/12/2017 02:35 PM, Adhemerval Zanella wrote:
> Ok, here is a version 2.
>
> --
>
> 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 for the signal to act on a trap.
Looks reasonable.
> +cleanup()
Not sure what the preferred style is here, “cleanup () {” or yours.
GNU style for shell scripts seems to be 4 space indentation.
Thanks,
Florian
More information about the Libc-alpha
mailing list