Bug 149852

Summary: [PATCH] fix 2x same lines in strcpy(3) and strncpy(3)
Product: Documentation Reporter: Aldis Berjoza <aldis>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Aldis Berjoza 2010-08-21 15:10:01 UTC
============
     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);
============

Fix: Patch attached with submission follows:
Comment 1 Aldis Berjoza 2010-08-22 13:02:50 UTC
Uuups, my bad....
just noticed... how big mistake I made....
Sorry... I can't believe I missed it (I triple checked)

close pr, since man is OK,
I somehow show stp as str :D


I'm very, very sorry


-- 
Aldis Berjoza
Comment 2 Benedict Reuschling freebsd_committer freebsd_triage 2010-08-22 13:12:42 UTC
State Changed
From-To: open->closed

Closed at sumbitters request (don't be sorry, to err is human). :)