Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Feb 2014 07:02:16 GMT
From:      Jamie Landeg-Jones <jamie@dyslexicfish.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/186608: typo in 'ctime(3) man page
Message-ID:  <201402090702.s1972G1s067725@catnip.dyslexicfish.net>
Resent-Message-ID: <201402092220.s19MK0sT012994@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         186608
>Category:       docs
>Synopsis:       typo in 'ctime(3) man page
>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:   Sun Feb 09 22:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Jamie Landeg-Jones
>Release:        FreeBSD 10.0-STABLE amd64
>Organization:
>Environment:
System: FreeBSD catnip.dyslexicfish.net 10.0-STABLE FreeBSD 10.0-STABLE #0: Wed Jan 22 09:10:20 GMT 2014 root@catflap.dyslexicfish.net:/usr/obj/usr/src/sys/CATFLAP amd64


	
>Description:

Another typo. This time in ctime.3 man page..  I realise this is in 'contrib' but there doesn't seem to be any info regarding who this is pulled from.

I hope I don't get the reputation for most anal contributor :-(

(Is a PR the best way to report something so insignificant? Seems like overkill... Gimme doc commit access!)

Anyway.... The word 'leaves' instead of 'leave' in the following line:

"-these functions leaves their result in an internal static object and return"

cheers, Jamie

	
>How-To-Repeat:

man 3 ctime

	
>Fix:

apply patch (!)

	

--- patch begins here ---
--- contrib/tzcode/stdtime/ctime.3.orig	2014-02-09 06:47:03.000000000 +0000
+++ contrib/tzcode/stdtime/ctime.3	2014-02-09 06:47:47.000000000 +0000
@@ -342,7 +342,7 @@
 and the
 .Fn \&_r
 variants of the other functions,
-these functions leaves their result in an internal static object and return
+these functions leave their result in an internal static object and return
 a pointer to that object.
 Subsequent calls to these
 function will modify the same object.
--- patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402090702.s1972G1s067725>