Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man9 Remove incorrect comment about non-effect of ...



details:   https://anonhg.NetBSD.org/src/rev/6c5e9d6c096a
branches:  trunk
changeset: 814817:6c5e9d6c096a
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Apr 11 03:27:14 2016 +0000

description:
Remove incorrect comment about non-effect of PSLIST_ENTRY_DESTROY.

This does have an effect -- it nullifies the next pointer.  (The text
was copied from PSLIST_DESTROY, which really has no effect without
options DIAGNOSTIC.)

diffstat:

 share/man/man9/pslist.9 |  8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diffs (22 lines):

diff -r 0fc560c2adc7 -r 6c5e9d6c096a share/man/man9/pslist.9
--- a/share/man/man9/pslist.9   Mon Apr 11 02:04:14 2016 +0000
+++ b/share/man/man9/pslist.9   Mon Apr 11 03:27:14 2016 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: pslist.9,v 1.13 2016/04/09 18:25:26 riastradh Exp $
+.\"    $NetBSD: pslist.9,v 1.14 2016/04/11 03:27:14 riastradh Exp $
 .\"
 .\" Copyright (c) 2016 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -175,12 +175,6 @@
 must never have been inserted into a list, or it must have been
 inserted and removed, and the caller must have waited for all parallel
 readers to finish reading it first.
-.Pp
-This has an effect only with the
-.Dv DIAGNOSTIC
-option, so it is not strictly necessary, but it can help to detect bugs
-early; see
-.Xr KASSERT 9 .
 .El
 .\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 .Sh WRITER OPERATIONS



Home | Main Index | Thread Index | Old Index