History log of /freebsd-current/contrib/netbsd-tests/lib/libc/setjmp/t_setjmp.c
Revision Date Author Comments
# 9fb118be 09-Jan-2023 Jessica Clarke <jrtc27@FreeBSD.org>

libc: Fix longjmp/_longjmp(buf, 0) for AArch64 and RISC-V

These architectures fail to handle this special case, and will cause the
corresponding setjmp/_setjmp to return 0 rather than 1. Fix this and add
regression tests (also committed upstream).

PR: 268684
Reviewed by: arichardson, jhb
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D29363


# 30924962 09-Mar-2016 Bryan Drewery <bdrewery@FreeBSD.org>

Fix and connect setjmp test.

Sponsored by: EMC / Isilon Storage Division