Module Name: src
Committed By: wiz
Date: Fri Oct 2 07:41:08 UTC 2009
Modified Files:
src/lib/libc/net: getaddrinfo.3 getaddrinfo.c gethnamaddr.c
Log Message:
Revert a -> an changes: Adding an 'n' follows pronunciation, not writing.
To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/lib/libc/net/getaddrinfo.3
cvs rdiff -u -r1.94 -r1.95 src/lib/libc/net/getaddrinfo.c
cvs rdiff -u -r1.74 -r1.75 src/lib/libc/net/gethnamaddr.c
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/net/getaddrinfo.3
diff -u src/lib/libc/net/getaddrinfo.3:1.49 src/lib/libc/net/getaddrinfo.3:1.50
--- src/lib/libc/net/getaddrinfo.3:1.49 Fri Oct 2 06:59:37 2009
+++ src/lib/libc/net/getaddrinfo.3 Fri Oct 2 07:41:08 2009
@@ -1,4 +1,4 @@
-.\" $NetBSD: getaddrinfo.3,v 1.49 2009/10/02 06:59:37 wiz Exp $
+.\" $NetBSD: getaddrinfo.3,v 1.50 2009/10/02 07:41:08 wiz Exp $
.\" $KAME: getaddrinfo.3,v 1.36 2005/01/05 03:23:05 itojun Exp $
.\" $OpenBSD: getaddrinfo.3,v 1.35 2004/12/21 03:40:31 jaredy Exp $
.\"
@@ -260,7 +260,7 @@
interface
.Dc .
.Pp
-The current implementation assumes an one-to-one relationship between
+The current implementation assumes a one-to-one relationship between
the interface and link, which is not necessarily true from the specification.
.Pp
All of the information returned by
Index: src/lib/libc/net/getaddrinfo.c
diff -u src/lib/libc/net/getaddrinfo.c:1.94 src/lib/libc/net/getaddrinfo.c:1.95
--- src/lib/libc/net/getaddrinfo.c:1.94 Fri Oct 2 06:49:23 2009
+++ src/lib/libc/net/getaddrinfo.c Fri Oct 2 07:41:08 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: getaddrinfo.c,v 1.94 2009/10/02 06:49:23 cegger Exp $ */
+/* $NetBSD: getaddrinfo.c,v 1.95 2009/10/02 07:41:08 wiz Exp $ */
/* $KAME: getaddrinfo.c,v 1.29 2000/08/31 17:26:57 itojun Exp $ */
/*
@@ -55,7 +55,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: getaddrinfo.c,v 1.94 2009/10/02 06:49:23 cegger Exp $");
+__RCSID("$NetBSD: getaddrinfo.c,v 1.95 2009/10/02 07:41:08 wiz Exp $");
#endif /* LIBC_SCCS and not lint */
#include "namespace.h"
@@ -1027,7 +1027,7 @@
if (IN6_IS_ADDR_LINKLOCAL(a6) || IN6_IS_ADDR_MC_LINKLOCAL(a6)) {
/*
- * We currently assume an one-to-one mapping between links
+ * We currently assume a one-to-one mapping between links
* and interfaces, so we simply use interface indices for
* like-local scopes.
*/
@@ -1799,7 +1799,7 @@
trailing_dot++;
/*
- * if there aren't any dots, it could be an user-level alias
+ * if there aren't any dots, it could be a user-level alias
*/
if (!dots && (cp = __hostalias(name)) != NULL) {
ret = res_queryN(cp, target, res);
Index: src/lib/libc/net/gethnamaddr.c
diff -u src/lib/libc/net/gethnamaddr.c:1.74 src/lib/libc/net/gethnamaddr.c:1.75
--- src/lib/libc/net/gethnamaddr.c:1.74 Fri Oct 2 06:49:23 2009
+++ src/lib/libc/net/gethnamaddr.c Fri Oct 2 07:41:08 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: gethnamaddr.c,v 1.74 2009/10/02 06:49:23 cegger Exp $ */
+/* $NetBSD: gethnamaddr.c,v 1.75 2009/10/02 07:41:08 wiz Exp $ */
/*
* ++Copyright++ 1985, 1988, 1993
@@ -57,7 +57,7 @@
static char sccsid[] = "@(#)gethostnamadr.c 8.1 (Berkeley) 6/4/93";
static char rcsid[] = "Id: gethnamaddr.c,v 8.21 1997/06/01 20:34:37 vixie Exp ";
#else
-__RCSID("$NetBSD: gethnamaddr.c,v 1.74 2009/10/02 06:49:23 cegger Exp $");
+__RCSID("$NetBSD: gethnamaddr.c,v 1.75 2009/10/02 07:41:08 wiz Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -573,7 +573,7 @@
host.h_length = size;
/*
- * if there aren't any dots, it could be an user-level alias.
+ * if there aren't any dots, it could be a user-level alias.
* this is also done in res_nquery() since we are not the only
* function that looks up host names.
*/