Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/net fix grammar: a -> an



details:   https://anonhg.NetBSD.org/src/rev/fa694884da28
branches:  trunk
changeset: 747775:fa694884da28
user:      cegger <cegger%NetBSD.org@localhost>
date:      Fri Oct 02 06:49:23 2009 +0000

description:
fix grammar: a -> an

diffstat:

 lib/libc/net/getaddrinfo.3 |  6 +++---
 lib/libc/net/getaddrinfo.c |  8 ++++----
 lib/libc/net/gethnamaddr.c |  6 +++---
 lib/libc/net/resolver.3    |  4 ++--
 4 files changed, 12 insertions(+), 12 deletions(-)

diffs (108 lines):

diff -r 6ec65b628a74 -r fa694884da28 lib/libc/net/getaddrinfo.3
--- a/lib/libc/net/getaddrinfo.3        Fri Oct 02 04:38:47 2009 +0000
+++ b/lib/libc/net/getaddrinfo.3        Fri Oct 02 06:49:23 2009 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: getaddrinfo.3,v 1.47 2009/10/02 02:45:29 tsarna Exp $
+.\"    $NetBSD: getaddrinfo.3,v 1.48 2009/10/02 06:49:23 cegger 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 a one-to-one relationship between
+The current implementation assumes an one-to-one relationship between
 the interface and link, which is not necessarily true from the specification.
 .Pp
 All of the information returned by
@@ -280,7 +280,7 @@
 function.
 The
 .Fa ai
-pointer should be a
+pointer should be an
 .Li addrinfo
 structure created by a call to
 .Fn getaddrinfo
diff -r 6ec65b628a74 -r fa694884da28 lib/libc/net/getaddrinfo.c
--- a/lib/libc/net/getaddrinfo.c        Fri Oct 02 04:38:47 2009 +0000
+++ b/lib/libc/net/getaddrinfo.c        Fri Oct 02 06:49:23 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: getaddrinfo.c,v 1.93 2009/10/02 02:45:29 tsarna Exp $  */
+/*     $NetBSD: getaddrinfo.c,v 1.94 2009/10/02 06:49:23 cegger 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.93 2009/10/02 02:45:29 tsarna Exp $");
+__RCSID("$NetBSD: getaddrinfo.c,v 1.94 2009/10/02 06:49:23 cegger 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 a one-to-one mapping between links
+                * We currently assume an 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 a user-level alias
+        * if there aren't any dots, it could be an user-level alias
         */
        if (!dots && (cp = __hostalias(name)) != NULL) {
                ret = res_queryN(cp, target, res);
diff -r 6ec65b628a74 -r fa694884da28 lib/libc/net/gethnamaddr.c
--- a/lib/libc/net/gethnamaddr.c        Fri Oct 02 04:38:47 2009 +0000
+++ b/lib/libc/net/gethnamaddr.c        Fri Oct 02 06:49:23 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gethnamaddr.c,v 1.73 2007/01/27 22:27:35 christos Exp $        */
+/*     $NetBSD: gethnamaddr.c,v 1.74 2009/10/02 06:49:23 cegger 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.73 2007/01/27 22:27:35 christos Exp $");
+__RCSID("$NetBSD: gethnamaddr.c,v 1.74 2009/10/02 06:49:23 cegger 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 a user-level alias.
+        * if there aren't any dots, it could be an user-level alias.
         * this is also done in res_nquery() since we are not the only
         * function that looks up host names.
         */
diff -r 6ec65b628a74 -r fa694884da28 lib/libc/net/resolver.3
--- a/lib/libc/net/resolver.3   Fri Oct 02 04:38:47 2009 +0000
+++ b/lib/libc/net/resolver.3   Fri Oct 02 06:49:23 2009 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: resolver.3,v 1.22 2009/06/08 16:55:30 christos Exp $
+.\"    $NetBSD: resolver.3,v 1.23 2009/10/02 06:49:23 cegger Exp $
 .\" Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
 .\"
 .\" Permission to use, copy, modify, and distribute this software for any
@@ -317,7 +317,7 @@
 .It Dv RES_NOTLDQUERY
 This option causes
 .Fn res_nsearch
-to not attempt to resolve a unqualified name as if it were a top level
+to not attempt to resolve an unqualified name as if it were a top level
 domain (TLD).
 This option can cause problems if the site has "localhost" as a TLD rather
 than having localhost on one or more elements of the search list.



Home | Main Index | Thread Index | Old Index