NetBSD-Bugs archive

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

misc/56473: Typo in lib/libc/net/getaddrinfo.c comment



>Number:         56473
>Category:       misc
>Synopsis:       typo in lib/libc/net/getaddrinfo.c comment
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 28 20:30:00 +0000 2021
>Originator:     Jan Schaumann
>Release:        -current
>Organization:
	
>Environment:
>Description:

lib/libc/net/getaddrinfo.c has a typo in the comment;

"alows" should be "allows"

>How-To-Repeat:

vi /usr/src/lib/libc/net/getaddrinfo.c

>Fix:

--- getaddrinfo.c	2021-10-28 16:26:10.084406991 -0400
+++ getaddrinfo.c.orig	2021-10-28 16:13:10.840494241 -0400
@@ -36,7 +36,7 @@
  *   in the source code.  This is because RFC2553 is silent about which error
  *   code must be returned for which situation.
  * - IPv4 classful (shortened) form.  RFC2553 is silent about it.  XNET 5.2
- *   says to use inet_aton() to convert IPv4 numeric to binary (allows
+ *   says to use inet_aton() to convert IPv4 numeric to binary (alows
  *   classful form as a result).
  *   current code - disallow classful form for IPv4 (due to use of inet_pton).
  * - freeaddrinfo(NULL).  RFC2553 is silent about it.  XNET 5.2 says it is



Home | Main Index | Thread Index | Old Index