Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc Fix typos, as reported by Eitan Adler. Update dates.



details:   https://anonhg.NetBSD.org/src/rev/4c5c00321f09
branches:  trunk
changeset: 829639:4c5c00321f09
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Wed Feb 07 11:16:05 2018 +0000

description:
Fix typos, as reported by Eitan Adler.  Update dates.

diffstat:

 lib/libc/gen/getgrent.3   |  8 ++++----
 lib/libc/gen/getpwent.3   |  8 ++++----
 lib/libc/net/resolver.3   |  8 ++++----
 lib/libc/stdlib/ptsname.3 |  6 +++---
 lib/libc/time/ctime.3     |  6 +++---
 lib/libc/time/getdate.3   |  6 +++---
 lib/libc/yp/ypclnt.3      |  6 +++---
 7 files changed, 24 insertions(+), 24 deletions(-)

diffs (198 lines):

diff -r 51940b71faf4 -r 4c5c00321f09 lib/libc/gen/getgrent.3
--- a/lib/libc/gen/getgrent.3   Wed Feb 07 10:52:20 2018 +0000
+++ b/lib/libc/gen/getgrent.3   Wed Feb 07 11:16:05 2018 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: getgrent.3,v 1.31 2011/04/28 16:34:01 wiz Exp $
+.\"    $NetBSD: getgrent.3,v 1.32 2018/02/07 11:16:05 pgoyette Exp $
 .\"
 .\" Copyright (c) 1989, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)getgrent.3 8.2 (Berkeley) 4/19/94
 .\"
-.Dd April 30, 2008
+.Dd February 7, 2018
 .Dt GETGRENT 3
 .Os
 .Sh NAME
@@ -187,8 +187,8 @@
 return a valid pointer to a group structure on success
 and a
 .Dv NULL
-pointer if the entry was not found or an error occured.
-If an error occured, the global variable
+pointer if the entry was not found or an error occurred.
+If an error occurred, the global variable
 .Dv errno
 is set to indicate the nature of the failure.
 .Pp
diff -r 51940b71faf4 -r 4c5c00321f09 lib/libc/gen/getpwent.3
--- a/lib/libc/gen/getpwent.3   Wed Feb 07 10:52:20 2018 +0000
+++ b/lib/libc/gen/getpwent.3   Wed Feb 07 11:16:05 2018 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: getpwent.3,v 1.39 2016/12/26 10:16:43 abhinav Exp $
+.\"    $NetBSD: getpwent.3,v 1.40 2018/02/07 11:16:05 pgoyette Exp $
 .\"
 .\" Copyright (c) 1988, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)getpwent.3 8.2 (Berkeley) 12/11/93
 .\"
-.Dd April 30, 2008
+.Dd February 7, 2018
 .Dt GETPWENT 3
 .Os
 .Sh NAME
@@ -210,8 +210,8 @@
 return a valid pointer to a passwd structure on success
 and a
 .Dv NULL
-pointer if the entry was not found or an error occured.
-If an error occured, the global variable
+pointer if the entry was not found or an error occurred.
+If an error occurred, the global variable
 .Dv errno
 is set to indicate the nature of the failure.
 The
diff -r 51940b71faf4 -r 4c5c00321f09 lib/libc/net/resolver.3
--- a/lib/libc/net/resolver.3   Wed Feb 07 10:52:20 2018 +0000
+++ b/lib/libc/net/resolver.3   Wed Feb 07 11:16:05 2018 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: resolver.3,v 1.33 2017/10/30 15:46:38 wiz Exp $
+.\"    $NetBSD: resolver.3,v 1.34 2018/02/07 11:16:05 pgoyette Exp $
 .\" Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
 .\"
 .\" Permission to use, copy, modify, and distribute this software for any
@@ -33,7 +33,7 @@
 .\"    @(#)resolver.3  6.5 (Berkeley) 6/23/90
 .\"    Id: resolver.man3,v 1.2 2009/01/21 00:12:34 each Exp
 .\"
-.Dd December 18, 2016
+.Dd February 7, 2018
 .Dt RESOLVER 3
 .Os
 .Sh NAME
@@ -200,7 +200,7 @@
 .Fn res_close
 .\" and
 .\" .Fn herror
-are deprecated and are supplied for compatability with old source
+are deprecated and are supplied for compatibility with old source
 code.
 They use global configuration and state information that is
 kept in the structure
@@ -532,7 +532,7 @@
 .Fn fp_resstat
 prints out the active flag bits in
 .Fa statp->options
-preceeded by the text ";; res options:" on
+preceded by the text ";; res options:" on
 .Fa file .
 .Pp
 The functions
diff -r 51940b71faf4 -r 4c5c00321f09 lib/libc/stdlib/ptsname.3
--- a/lib/libc/stdlib/ptsname.3 Wed Feb 07 10:52:20 2018 +0000
+++ b/lib/libc/stdlib/ptsname.3 Wed Feb 07 11:16:05 2018 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: ptsname.3,v 1.11 2017/09/09 12:28:19 kamil Exp $
+.\" $NetBSD: ptsname.3,v 1.12 2018/02/07 11:16:05 pgoyette Exp $
 .\"
 .\" Copyright (c) 2004 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd September 9, 2017
+.Dd February 7, 2018
 .Dt PTSNAME 3
 .Os
 .Sh NAME
@@ -92,7 +92,7 @@
 If an error occurs
 .Fn ptsname_r
 will return
-an error number number indicating what went wrong.
+an error number indicating what went wrong.
 .Sh ERRORS
 The
 .Fn ptsname
diff -r 51940b71faf4 -r 4c5c00321f09 lib/libc/time/ctime.3
--- a/lib/libc/time/ctime.3     Wed Feb 07 10:52:20 2018 +0000
+++ b/lib/libc/time/ctime.3     Wed Feb 07 11:16:05 2018 +0000
@@ -1,8 +1,8 @@
-.\" $NetBSD: ctime.3,v 1.56 2018/01/25 22:48:42 christos Exp $
+.\" $NetBSD: ctime.3,v 1.57 2018/02/07 11:16:05 pgoyette Exp $
 .\"
 .\" XXX: License missing?
 .\"
-.Dd January 25, 2018
+.Dd February 7, 2018
 .Dt CTIME 3
 .Os
 .Sh NAME
@@ -505,7 +505,7 @@
 .Fa tm_zone
 field of a returned
 .Va "struct tm"
-th point to an array of characters that
+point to an array of characters that
 can be freed or overwritten by later calls to the functions
 .Fn localtime ,
 .Fn tzfree ,
diff -r 51940b71faf4 -r 4c5c00321f09 lib/libc/time/getdate.3
--- a/lib/libc/time/getdate.3   Wed Feb 07 10:52:20 2018 +0000
+++ b/lib/libc/time/getdate.3   Wed Feb 07 11:16:05 2018 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: getdate.3,v 1.8 2012/12/14 23:26:17 uwe Exp $
+.\"    $NetBSD: getdate.3,v 1.9 2018/02/07 11:16:05 pgoyette Exp $
 .\"
 .\" Copyright (c) 2009, 2011, 2012, The NetBSD Foundation.
 .\" All Rights Reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd December 14, 2012
+.Dd February 7, 2018
 .Dt GETDATE 3
 .Os
 .Sh NAME
@@ -97,7 +97,7 @@
 .It
 If
 .Cm \&%Z
-is being scanned, then the broken-down time is based on the the
+is being scanned, then the broken-down time is based on the
 current time of the matched timezone and not the current runtime
 environment timezone.
 .El
diff -r 51940b71faf4 -r 4c5c00321f09 lib/libc/yp/ypclnt.3
--- a/lib/libc/yp/ypclnt.3      Wed Feb 07 10:52:20 2018 +0000
+++ b/lib/libc/yp/ypclnt.3      Wed Feb 07 11:16:05 2018 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: ypclnt.3,v 1.28 2017/07/03 21:32:50 wiz Exp $
+.\"    $NetBSD: ypclnt.3,v 1.29 2018/02/07 11:16:06 pgoyette Exp $
 .\"
 .\" Copyright (c) 1996 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd March 2, 2012
+.Dd February 7, 2018
 .Dt YPCLNT 3
 .Os
 .Sh NAME
@@ -359,7 +359,7 @@
 communication with the yp server fails.
 If the number passed is negative, the current number of tries is not modified.
 .Pp
-This function is an extention to the client library that allows application
+This function is an extension to the client library that allows an application
 to catch communication problems with the ypserver without blocking forever.
 .El
 .Sh RETURN VALUES



Home | Main Index | Thread Index | Old Index