Date: Sat, 21 Aug 2010 14:09:21 GMT From: Aldis Berjoza <aldis@bsdroot.lv> To: freebsd-gnats-submit@FreeBSD.org Subject: docs/149852: [PATCH] fix 2x same lines in strcpy(3) and strncpy(3) Message-ID: <201008211409.o7LE9L7B099361@www.freebsd.org> Resent-Message-ID: <201008211410.o7LEA17t067722@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 149852 >Category: docs >Synopsis: [PATCH] fix 2x same lines in strcpy(3) and strncpy(3) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sat Aug 21 14:10:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Aldis Berjoza >Release: >Organization: >Environment: >Description: ============ char * stpcpy(char * restrict dst, const char * restrict src); char * stpncpy(char * restrict dst, const char * restrict src, size_t len); char * strcpy(char * restrict dst, const char * restrict src); char * strncpy(char * restrict dst, const char * restrict src, size_t len); ============ should be ============ char * stpcpy(char * restrict dst, const char * restrict src); char * stpncpy(char * restrict dst, const char * restrict src, size_t len); ============ >How-To-Repeat: >Fix: Patch attached with submission follows: --- strncpy.3.bak 2010-08-21 17:06:36.000000000 +0300 +++ strncpy.3 2010-08-21 17:07:08.000000000 +0300 @@ -46,10 +46,6 @@ .Fn stpcpy "char * restrict dst" "const char * restrict src" .Ft char * .Fn stpncpy "char * restrict dst" "const char * restrict src" "size_t len" -.Ft char * -.Fn strcpy "char * restrict dst" "const char * restrict src" -.Ft char * -.Fn strncpy "char * restrict dst" "const char * restrict src" "size_t len" .Sh DESCRIPTION The .Fn stpcpy >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008211409.o7LE9L7B099361>