Module Name: src Committed By: pgoyette Date: Wed Feb 7 11:16:06 UTC 2018
Modified Files: src/lib/libc/gen: getgrent.3 getpwent.3 src/lib/libc/net: resolver.3 src/lib/libc/stdlib: ptsname.3 src/lib/libc/time: ctime.3 getdate.3 src/lib/libc/yp: ypclnt.3 Log Message: Fix typos, as reported by Eitan Adler. Update dates. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/lib/libc/gen/getgrent.3 cvs rdiff -u -r1.39 -r1.40 src/lib/libc/gen/getpwent.3 cvs rdiff -u -r1.33 -r1.34 src/lib/libc/net/resolver.3 cvs rdiff -u -r1.11 -r1.12 src/lib/libc/stdlib/ptsname.3 cvs rdiff -u -r1.56 -r1.57 src/lib/libc/time/ctime.3 cvs rdiff -u -r1.8 -r1.9 src/lib/libc/time/getdate.3 cvs rdiff -u -r1.28 -r1.29 src/lib/libc/yp/ypclnt.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/gen/getgrent.3 diff -u src/lib/libc/gen/getgrent.3:1.31 src/lib/libc/gen/getgrent.3:1.32 --- src/lib/libc/gen/getgrent.3:1.31 Thu Apr 28 16:34:01 2011 +++ src/lib/libc/gen/getgrent.3 Wed Feb 7 11:16:05 2018 @@ -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 @@ and 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 Index: src/lib/libc/gen/getpwent.3 diff -u src/lib/libc/gen/getpwent.3:1.39 src/lib/libc/gen/getpwent.3:1.40 --- src/lib/libc/gen/getpwent.3:1.39 Mon Dec 26 10:16:43 2016 +++ src/lib/libc/gen/getpwent.3 Wed Feb 7 11:16:05 2018 @@ -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 @@ and 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 Index: src/lib/libc/net/resolver.3 diff -u src/lib/libc/net/resolver.3:1.33 src/lib/libc/net/resolver.3:1.34 --- src/lib/libc/net/resolver.3:1.33 Mon Oct 30 15:46:38 2017 +++ src/lib/libc/net/resolver.3 Wed Feb 7 11:16:05 2018 @@ -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 @@ The functions .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 @@ The function .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 Index: src/lib/libc/stdlib/ptsname.3 diff -u src/lib/libc/stdlib/ptsname.3:1.11 src/lib/libc/stdlib/ptsname.3:1.12 --- src/lib/libc/stdlib/ptsname.3:1.11 Sat Sep 9 12:28:19 2017 +++ src/lib/libc/stdlib/ptsname.3 Wed Feb 7 11:16:05 2018 @@ -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 @@ and returns 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 Index: src/lib/libc/time/ctime.3 diff -u src/lib/libc/time/ctime.3:1.56 src/lib/libc/time/ctime.3:1.57 --- src/lib/libc/time/ctime.3:1.56 Thu Jan 25 22:48:42 2018 +++ src/lib/libc/time/ctime.3 Wed Feb 7 11:16:05 2018 @@ -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 @@ variable (once set) and the .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 , Index: src/lib/libc/time/getdate.3 diff -u src/lib/libc/time/getdate.3:1.8 src/lib/libc/time/getdate.3:1.9 --- src/lib/libc/time/getdate.3:1.8 Fri Dec 14 23:26:17 2012 +++ src/lib/libc/time/getdate.3 Wed Feb 7 11:16:05 2018 @@ -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 @@ is greater than the current hour and tom .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 Index: src/lib/libc/yp/ypclnt.3 diff -u src/lib/libc/yp/ypclnt.3:1.28 src/lib/libc/yp/ypclnt.3:1.29 --- src/lib/libc/yp/ypclnt.3:1.28 Mon Jul 3 21:32:50 2017 +++ src/lib/libc/yp/ypclnt.3 Wed Feb 7 11:16:06 2018 @@ -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 @@ which means wait forever if no ypserver 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