NetBSD/external/bsd
jmmv d59f14065c Pull up revision 3becdd597a7f5f996eeceebf06ac7f77aaa7c30c from upstream:
Catch and report unhandled exceptions before they propagate to C land

The C++ interface to run test cases goes like this:

    1) C++ run function -> 2) C run function -> 3) C++ wrapper for
    test case -> 4) test case head/body/cleanup

The previous code caught and reported unhandled exceptions in 1).
However, such approach does not seem to work everywhere.  It fails,
for example, in NetBSD/i386 but works in NetBSD/amd64.  I am not sure
which platform implementation is correct nor if there even _is_ a
defined behavior.  No matter what, it feels wrong and clunky.

Move the last-resort exception catching to happen in 3) so that
exceptions don't propagate back to C.

Fixes the test-programs/result_test:result_exception test case in
NetBSD/i386 5.99.34.
2010-07-06 18:03:37 +00:00
..
am-utils Kill non-existent macros. 2010-03-30 14:13:49 +00:00
atf Pull up revision 3becdd597a7f5f996eeceebf06ac7f77aaa7c30c from upstream: 2010-07-06 18:03:37 +00:00
bind adjust entropy_add signature. (From Kurt Schreiner) 2009-12-27 17:27:29 +00:00
byacc The expression (yyvs != 0) is always true and not a necessary test 2009-11-27 12:37:19 +00:00
cron rename the allow and deny files to match the documentation. 2010-05-19 12:50:49 +00:00
dhcpcd Import dhcpcd-5.2.4 with the following changes: 2010-06-04 09:07:59 +00:00
fetch Merge 2010-03-24 20:52:39 +00:00
file Reorder section. Use .Ex -std. 2010-05-14 16:51:32 +00:00
flex previous workaround not needed. 2010-04-07 16:14:35 +00:00
iscsi Regen with autoconf-2.63 and automake-1.11.1 because of man page changes. 2010-04-19 08:09:02 +00:00
libarchive Add MKBSDTAR, defaulting to no. It switching cpio and tar to the 2010-04-23 19:41:02 +00:00
libbind/dist the resolver man page is from here now. 2009-06-08 17:16:18 +00:00
libdwarf Prep for building as part of the toolchain. 2010-02-22 11:01:29 +00:00
libelf DTrace: Get DTrace to build on OS X platforms. 2010-03-02 21:08:36 +00:00
libevent disable the DNS tests which rely on external hosts, as 2010-06-03 07:08:41 +00:00
liblzf Plug liblzf into build. Liblzf is a small (3504 byte shared library on i386), 2010-02-03 06:25:54 +00:00
mdocml Update build glue for mdocml-1.10.2 2010-06-24 17:20:19 +00:00
ntp Prevent ntpd instances from sending MODE_PRIVATE error responses back and 2010-04-25 22:50:11 +00:00
openldap Drop redundant .TP 2010-03-20 20:58:06 +00:00
openresolv Do not abuse .Ta, but use a real tabulator. 2010-06-16 22:26:56 +00:00
pcc apply build framework and config changes for pcc-100602, plus add a 2010-06-03 19:17:22 +00:00
pkg_install Merge for pkg_install-20100616 2010-06-26 00:17:13 +00:00
top PR/43562: Witold Jan Wnuk: top: CPU percentages overlap labels 2010-07-03 13:18:57 +00:00
tre implement the REG_STARTEND extension using tre_regnexec - REG_STARTEND is 2010-04-22 17:33:54 +00:00
Makefile unhook old cron, hook new one. 2010-05-07 17:35:31 +00:00