From 086b95c9573f2c3a1b0b5652129686eb64beeb7e Mon Sep 17 00:00:00 2001 From: naddy <> Date: Thu, 31 Mar 2022 17:27:26 +0000 Subject: man pages: add missing commas between subordinate and main clauses jmc@ dislikes a comma before "then" in a conditional, so leave those untouched. ok jmc@ --- src/lib/libc/stdlib/malloc.3 | 8 ++++---- src/lib/libc/stdlib/tsearch.3 | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/lib/libc/stdlib') diff --git a/src/lib/libc/stdlib/malloc.3 b/src/lib/libc/stdlib/malloc.3 index dc3e691ece..9bd498ab50 100644 --- a/src/lib/libc/stdlib/malloc.3 +++ b/src/lib/libc/stdlib/malloc.3 @@ -30,9 +30,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: malloc.3,v 1.128 2021/04/09 06:04:15 otto Exp $ +.\" $OpenBSD: malloc.3,v 1.129 2022/03/31 17:27:16 naddy Exp $ .\" -.Dd $Mdocdate: April 9 2021 $ +.Dd $Mdocdate: March 31 2022 $ .Dt MALLOC 3 .Os .Sh NAME @@ -423,7 +423,7 @@ and multiplying .Fa oldnmemb and .Fa size -results in integer overflow +results in integer overflow, .Fn recallocarray returns .Dv NULL @@ -610,7 +610,7 @@ Here is a brief description of the error messages and what they mean: .It Dq out of memory If the .Cm X -option is specified it is an error for the allocation functions +option is specified, it is an error for the allocation functions to return .Dv NULL . .It Dq bogus pointer (double free?) diff --git a/src/lib/libc/stdlib/tsearch.3 b/src/lib/libc/stdlib/tsearch.3 index cd90435614..a7ab985013 100644 --- a/src/lib/libc/stdlib/tsearch.3 +++ b/src/lib/libc/stdlib/tsearch.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tsearch.3,v 1.21 2019/01/25 00:19:25 millert Exp $ +.\" $OpenBSD: tsearch.3,v 1.22 2022/03/31 17:27:16 naddy Exp $ .\" .\" Copyright (c) 1997 Todd C. Miller .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: January 25 2019 $ +.Dd $Mdocdate: March 31 2022 $ .Dt TSEARCH 3 .Os .Sh NAME @@ -63,7 +63,7 @@ except that if no match is found, is inserted into the tree and a pointer to it is returned. If .Fa rootp -points to a null value a new binary search tree is created. +points to a null value, a new binary search tree is created. .Pp .Fn tdelete deletes a node from the specified binary search tree and returns -- cgit v1.2.3-55-g6feb