summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2020-01-04 17:13:35 +0000
committerschwarze <schwarze@openbsd.org>2020-01-04 17:13:35 +0000
commita0dc2e2b7e6f48404b4cee4fa784eb8726a43a5e (patch)
tree60574eeba94bc72a2eddaff695bdc285d34d7bec /usr.sbin/pkg_add
parentCall process_worklist_item with LK_NOWAIT to skip locked vnodes from (diff)
downloadwireguard-openbsd-a0dc2e2b7e6f48404b4cee4fa784eb8726a43a5e.tar.xz
wireguard-openbsd-a0dc2e2b7e6f48404b4cee4fa784eb8726a43a5e.zip
mention $DB::inhibit_exit;
my wording after espie@ explained what he had in mind; OK espie@
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/pod/OpenBSD::style.pod10
1 files changed, 9 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/pod/OpenBSD::style.pod b/usr.sbin/pkg_add/pod/OpenBSD::style.pod
index 6fa147ea062..a215a734b85 100644
--- a/usr.sbin/pkg_add/pod/OpenBSD::style.pod
+++ b/usr.sbin/pkg_add/pod/OpenBSD::style.pod
@@ -1,4 +1,4 @@
-$OpenBSD: OpenBSD::style.pod,v 1.1 2020/01/04 13:48:49 schwarze Exp $
+$OpenBSD: OpenBSD::style.pod,v 1.2 2020/01/04 17:13:35 schwarze Exp $
=head1 NAME
@@ -117,6 +117,14 @@ passing C<@_> completely unchanged, can be done with the following syntax:
&Lender::visit_notary; # no parentheses here
}
+If a program often uses fork(), set
+
+ $DB::inhibit_exit = 0;
+
+right after each fork() and before the following exec(),
+such that a user trying to debug the main program isn't
+prompted each time one of the child processes exits.
+
=head2 Data structures
Autovivification is welcome: