From nobody@FreeBSD.org  Tue May 14 18:51:25 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id AF7ABC54
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 14 May 2013 18:51:25 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.FreeBSD.org (oldred.freebsd.org [8.8.178.121])
	by mx1.freebsd.org (Postfix) with ESMTP id A2E4E210
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 14 May 2013 18:51:25 +0000 (UTC)
Received: from oldred.FreeBSD.org ([127.0.1.6])
	by oldred.FreeBSD.org (8.14.5/8.14.5) with ESMTP id r4EIpPDd009597
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 14 May 2013 18:51:25 GMT
	(envelope-from nobody@oldred.FreeBSD.org)
Received: (from nobody@localhost)
	by oldred.FreeBSD.org (8.14.5/8.14.5/Submit) id r4EIpPML009596;
	Tue, 14 May 2013 18:51:25 GMT
	(envelope-from nobody)
Message-Id: <201305141851.r4EIpPML009596@oldred.FreeBSD.org>
Date: Tue, 14 May 2013 18:51:25 GMT
From: Hiren Panchasara <hiren@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] typo in man page for atol
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         178642
>Category:       docs
>Synopsis:       [patch] typo in man page for atol
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    hiren
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 14 19:00:01 UTC 2013
>Closed-Date:    Fri Feb 07 22:44:00 UTC 2014
>Last-Modified:  Fri Feb 07 22:44:00 UTC 2014
>Originator:     Hiren Panchasara
>Release:        current
>Organization:
>Environment:
FreeBSD 10.0-CURRENT #3 r248805M
>Description:
Michael Galassi (michaelgalassi@gmail.com) reports:

I keep getting rejected by the bug submitting form, sorry.

In FreeBSD 9.1-STABLE (and maybe elsewhere), strtoll is mistyped as
stroll (note the lack of the letter 't') twice in the compatibility
section of the manpage for atol(3).


>How-To-Repeat:

>Fix:
Index: lib/libc/stdlib/atol.3
===================================================================
--- lib/libc/stdlib/atol.3      (revision 250603)
+++ lib/libc/stdlib/atol.3      (working copy)
@@ -32,7 +32,7 @@
 .\"     @(#)atol.3     8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd February 1, 2009
+.Dd May 15, 2013
 .Dt ATOL 3
 .Os
 .Sh NAME
@@ -88,13 +88,13 @@
 functions are thin wrappers around
 .Fn strtol
 and
-.Fn stroll
+.Fn strtoll
 respectively, so these functions will affect the value of
 .Va errno
 in the same way that the
 .Fn strtol
 and
-.Fn stroll
+.Fn strtoll
 functions are able to.
 This behavior of
 .Fn atol


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->hiren 
Responsible-Changed-By: hiren 
Responsible-Changed-When: Tue May 14 19:06:12 UTC 2013 
Responsible-Changed-Why:  
Grab. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=178642 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/178642: commit references a PR
Date: Tue, 14 May 2013 20:25:19 +0000 (UTC)

 Author: hiren
 Date: Tue May 14 20:25:07 2013
 New Revision: 250639
 URL: http://svnweb.freebsd.org/changeset/base/250639
 
 Log:
   Fix a typo: It should be "strtoll" and not "stroll".
   
   PR:	178642
   Reported by:	Michael Galassi (michaelgalassi@gmail.com)
   Approved by:	sbruno (mentor)
   MFC after:	1 week
 
 Modified:
   head/lib/libc/stdlib/atol.3
 
 Modified: head/lib/libc/stdlib/atol.3
 ==============================================================================
 --- head/lib/libc/stdlib/atol.3	Tue May 14 19:16:54 2013	(r250638)
 +++ head/lib/libc/stdlib/atol.3	Tue May 14 20:25:07 2013	(r250639)
 @@ -32,7 +32,7 @@
  .\"     @(#)atol.3	8.1 (Berkeley) 6/4/93
  .\" $FreeBSD$
  .\"
 -.Dd February 1, 2009
 +.Dd May 14, 2013
  .Dt ATOL 3
  .Os
  .Sh NAME
 @@ -88,13 +88,13 @@ and
  functions are thin wrappers around
  .Fn strtol
  and
 -.Fn stroll
 +.Fn strtoll
  respectively, so these functions will affect the value of
  .Va errno
  in the same way that the
  .Fn strtol
  and
 -.Fn stroll
 +.Fn strtoll
  functions are able to.
  This behavior of
  .Fn atol
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: hiren 
State-Changed-When: Fri Feb 7 22:43:49 UTC 2014 
State-Changed-Why:  
Fixed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=178642 
>Unformatted:
