`inet/arpa/inet.h: Fix typo in documentation of inet_ntop`
Jay Berry <[email protected]>
| Newsgroups | gmane.comp.lib.glibc.alpha |
|---|---|
| Message-ID | <CAFHrf9ecEZ0dvd421-ArLK0hcKteB++1Gr0Tek5ibM_Ns1fvEA@mail.gmail.com> |
Hello! I have been clearing out my todo folder today and I noticed that back in 2022 I had seen a typo in `<arpa/inet.h>`. I have just made a git patch that amends it, which I've attached. I am used to committing on GitHub so do bear with me if it needs reformatting. It's only a one-liner (one-character really) "astarting" -> "starting". My apologies if this is a pedantic first commit / email to this list. Maybe the typo is purposely left like that as one of those 'stable documentation' cases? I can see in the `git blame glibc-2.44.9000 -- inet/arpa/inet.h` that this has been present since 1997 (before I was born!). If not then enjoy. Thanks for glibc! Thanks, Jay
0001-inet-arpa-inet.h-Fix-typo-in-documentation-of-inet_n.patch
(text/x-patch, 904 B)
From 56e3fdaa333520e8f1b969e7f3ce40d95936ad37 Mon Sep 17 00:00:00 2001 From: jb2170 <[email protected]> Date: Tue, 11 Aug 2026 03:53:03 +0100 Subject: [PATCH] inet/arpa/inet.h: Fix typo in documentation of inet_ntop --- inet/arpa/inet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inet/arpa/inet.h b/inet/arpa/inet.h index bcccdc59ea..2efa35cdec 100644 --- a/inet/arpa/inet.h +++ b/inet/arpa/inet.h @@ -60,7 +60,7 @@ extern int inet_pton (int __af, const char *__restrict __cp, /* Convert a Internet address in binary network format for interface type AF in buffer starting at CP to presentation form and place - result in buffer of length LEN astarting at BUF. */ + result in buffer of length LEN starting at BUF. */ extern const char *inet_ntop (int __af, const void *__restrict __cp, char *__restrict __buf, socklen_t __len) __THROW; -- 2.55.0