From 080d922c8d4f3b1e10659290003200ab12e6a356 Mon Sep 17 00:00:00 2001 From: jrtc27 Date: Mon, 14 Dec 2020 00:50:45 +0000 Subject: [PATCH] strdup.3: Function appeared in 4.3BSD-Reno, not 4.4BSD Linux claims 4.3BSD, we claim 4.4BSD and OpenBSD claims 4.3BSD-Reno. It turns out that OpenBSD got it right: the function was added in late 1988 a few months after 4.3BSD-Tahoe, well in advance of 4.3BSD-Reno. Reviewed by: bcr Approved by: bcr Differential Revision: https://reviews.freebsd.org/D27392 --- lib/libc/string/strdup.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libc/string/strdup.3 b/lib/libc/string/strdup.3 index db5a11025dc..881dcdb6a9e 100644 --- a/lib/libc/string/strdup.3 +++ b/lib/libc/string/strdup.3 @@ -91,7 +91,7 @@ function is specified by The .Fn strdup function first appeared in -.Bx 4.4 . +.Bx 4.3 Reno . The .Fn strndup function was added in -- 2.45.0