From nobody@FreeBSD.org  Mon Jul 16 03:43:36 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id A7AFE37B406
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 16 Jul 2001 03:43:32 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id f6GAhWL58674;
	Mon, 16 Jul 2001 03:43:32 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200107161043.f6GAhWL58674@freefall.freebsd.org>
Date: Mon, 16 Jul 2001 03:43:32 -0700 (PDT)
From: Joseph Mallett <jmallett@xMach.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: strcpy manpage incorrectly states both strcpy and strncpy put in \0
X-Send-Pr-Version: www-1.0

>Number:         29002
>Category:       docs
>Synopsis:       strcpy manpage incorrectly states both strcpy and strncpy put in \0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dd
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 16 03:50:00 PDT 2001
>Closed-Date:    Mon Jul 23 03:08:32 PDT 2001
>Last-Modified:  Mon Jul 23 03:08:39 PDT 2001
>Originator:     Joseph Mallett
>Release:        4.3-STABLE
>Organization:
xMach
>Environment:
FreeBSD Aphex.NewGold.NET 4.3-STABLE FreeBSD 4.3-STABLE #0: Sun Jul  8 14:41:11
GMT 2001     root@Aphex.NewGold.NET:/usr/src/sys/compile/APHEX  i386
>Description:
the first sentance of strcpy(3) manpage states that both strncpy and strcpy in fact do what only strcpy does. It seems to me this is just a typo, as the second sentance is clearly structured the same, and therefore is probably what is meant to be the description.
>How-To-Repeat:
man 3 strcpy
>Fix:
--- strcpy.orig Mon Jul 16 10:38:16 2001
+++ strcpy.3    Mon Jul 16 10:39:20 2001
@@ -53,10 +53,8 @@
 .Sh DESCRIPTION
 The
 .Fn strcpy
-and
-.Fn strncpy
-functions
-copy the string
+function
+copies the string
 .Fa src
 to
 .Fa dst

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: dd 
State-Changed-When: Thu Jul 19 04:26:24 PDT 2001 
State-Changed-Why:  
Applied with minor fixes, thanks! 


Responsible-Changed-From-To: freebsd-doc->dd 
Responsible-Changed-By: dd 
Responsible-Changed-When: Thu Jul 19 04:26:24 PDT 2001 
Responsible-Changed-Why:  
My MFC reminder. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29002 
State-Changed-From-To: analyzed->closed 
State-Changed-By: dd 
State-Changed-When: Mon Jul 23 03:08:32 PDT 2001 
State-Changed-Why:  
MFC'd, thanks. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29002 
>Unformatted:
