From 05dca7e1c505fc660ad75ff08dad159e97ca2c00 Mon Sep 17 00:00:00 2001 From: jmc <> Date: Sat, 12 Nov 2016 08:58:43 +0000 Subject: [PATCH] the referred to EXAMPLES section is now in strncpy(3); issue reported by scott cheloha ok otto --- src/lib/libc/string/wcscpy.3 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/libc/string/wcscpy.3 b/src/lib/libc/string/wcscpy.3 index 2277eb41..fcf01b5c 100644 --- a/src/lib/libc/string/wcscpy.3 +++ b/src/lib/libc/string/wcscpy.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wcscpy.3,v 1.4 2013/09/25 21:49:31 millert Exp $ +.\" $OpenBSD: wcscpy.3,v 1.5 2016/11/12 08:58:43 jmc Exp $ .\" .\" Copyright (c) 1990, 1991 The Regents of the University of California. .\" All rights reserved. @@ -31,7 +31,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: September 25 2013 $ +.Dd $Mdocdate: November 12 2016 $ .Dt WCSCPY 3 .Os .Sh NAME @@ -122,7 +122,7 @@ and .Fn wcsncpy is very error-prone with respect to buffer overflows; see the EXAMPLES section in -.Xr strcpy 3 +.Xr strncpy 3 for correct usage. Using .Xr wcslcpy 3