diff options
author | jmc <> | 2022-12-27 17:10:06 +0000 |
---|---|---|
committer | jmc <> | 2022-12-27 17:10:06 +0000 |
commit | ddf0e80229d300fb3367dd1d2ca494b2baf147a0 (patch) | |
tree | c3a822c8accd682f0e2bcf3a5ae1934ce73dcaa5 | |
parent | ec80cc02af7fb5b42ef1b159a7175ab18d7464c0 (diff) | |
download | openbsd-ddf0e80229d300fb3367dd1d2ca494b2baf147a0.tar.gz openbsd-ddf0e80229d300fb3367dd1d2ca494b2baf147a0.tar.bz2 openbsd-ddf0e80229d300fb3367dd1d2ca494b2baf147a0.zip |
spelling fixes; from paul tagliamonte
any changes not taken noted on tech, but chiefly here i did not take the
cancelation - cancellation changes;
-rw-r--r-- | src/lib/libc/net/inet_net_pton.c | 4 | ||||
-rw-r--r-- | src/lib/libc/net/res_comp.c | 4 | ||||
-rw-r--r-- | src/lib/libc/net/res_random.c | 4 | ||||
-rw-r--r-- | src/lib/libc/net/rthdr.c | 4 | ||||
-rw-r--r-- | src/lib/libc/net/ruserok.c | 2 | ||||
-rw-r--r-- | src/lib/libc/stdlib/atexit.c | 4 | ||||
-rw-r--r-- | src/lib/libc/stdlib/div.c | 4 | ||||
-rw-r--r-- | src/lib/libc/stdlib/gcvt.c | 4 |
8 files changed, 15 insertions, 15 deletions
diff --git a/src/lib/libc/net/inet_net_pton.c b/src/lib/libc/net/inet_net_pton.c index f9c6e7334b..c5baa4d6f4 100644 --- a/src/lib/libc/net/inet_net_pton.c +++ b/src/lib/libc/net/inet_net_pton.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: inet_net_pton.c,v 1.13 2022/04/13 22:17:33 millert Exp $ */ | 1 | /* $OpenBSD: inet_net_pton.c,v 1.14 2022/12/27 17:10:06 jmc Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2012 by Gilles Chehade <gilles@openbsd.org> | 4 | * Copyright (c) 2012 by Gilles Chehade <gilles@openbsd.org> |
@@ -161,7 +161,7 @@ inet_net_pton_ipv4(const char *src, u_char *dst, size_t size) | |||
161 | goto enoent; | 161 | goto enoent; |
162 | } | 162 | } |
163 | 163 | ||
164 | /* Firey death and destruction unless we prefetched EOS. */ | 164 | /* Fiery death and destruction unless we prefetched EOS. */ |
165 | if (ch != '\0') | 165 | if (ch != '\0') |
166 | goto enoent; | 166 | goto enoent; |
167 | 167 | ||
diff --git a/src/lib/libc/net/res_comp.c b/src/lib/libc/net/res_comp.c index 41a1c9771a..7ccd44ad8d 100644 --- a/src/lib/libc/net/res_comp.c +++ b/src/lib/libc/net/res_comp.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: res_comp.c,v 1.21 2022/11/16 18:30:12 florian Exp $ */ | 1 | /* $OpenBSD: res_comp.c,v 1.22 2022/12/27 17:10:06 jmc Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * ++Copyright++ 1985, 1993 | 4 | * ++Copyright++ 1985, 1993 |
@@ -149,7 +149,7 @@ DEF_WEAK(dn_expand); | |||
149 | * 'length' is the size of the array pointed to by 'comp_dn'. | 149 | * 'length' is the size of the array pointed to by 'comp_dn'. |
150 | * 'dnptrs' is a list of pointers to previous compressed names. dnptrs[0] | 150 | * 'dnptrs' is a list of pointers to previous compressed names. dnptrs[0] |
151 | * is a pointer to the beginning of the message. The list ends with NULL. | 151 | * is a pointer to the beginning of the message. The list ends with NULL. |
152 | * 'lastdnptr' is a pointer to the end of the arrary pointed to | 152 | * 'lastdnptr' is a pointer to the end of the array pointed to |
153 | * by 'dnptrs'. Side effect is to update the list of pointers for | 153 | * by 'dnptrs'. Side effect is to update the list of pointers for |
154 | * labels inserted into the message as we compress the name. | 154 | * labels inserted into the message as we compress the name. |
155 | * If 'dnptr' is NULL, we don't try to compress names. If 'lastdnptr' | 155 | * If 'dnptr' is NULL, we don't try to compress names. If 'lastdnptr' |
diff --git a/src/lib/libc/net/res_random.c b/src/lib/libc/net/res_random.c index b7036815c9..3f642a138c 100644 --- a/src/lib/libc/net/res_random.c +++ b/src/lib/libc/net/res_random.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: res_random.c,v 1.25 2020/07/06 13:33:06 pirofti Exp $ */ | 1 | /* $OpenBSD: res_random.c,v 1.26 2022/12/27 17:10:06 jmc Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de> | 4 | * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de> |
@@ -70,7 +70,7 @@ | |||
70 | 70 | ||
71 | #include "thread_private.h" | 71 | #include "thread_private.h" |
72 | 72 | ||
73 | #define RU_OUT 180 /* Time after wich will be reseeded */ | 73 | #define RU_OUT 180 /* Time after which will be reseeded */ |
74 | #define RU_MAX 30000 /* Uniq cycle, avoid blackjack prediction */ | 74 | #define RU_MAX 30000 /* Uniq cycle, avoid blackjack prediction */ |
75 | #define RU_GEN 2 /* Starting generator */ | 75 | #define RU_GEN 2 /* Starting generator */ |
76 | #define RU_N 32749 /* RU_N-1 = 2*2*3*2729 */ | 76 | #define RU_N 32749 /* RU_N-1 = 2*2*3*2729 */ |
diff --git a/src/lib/libc/net/rthdr.c b/src/lib/libc/net/rthdr.c index 934a55155a..5ffb13fc87 100644 --- a/src/lib/libc/net/rthdr.c +++ b/src/lib/libc/net/rthdr.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rthdr.c,v 1.12 2016/09/21 04:38:56 guenther Exp $ */ | 1 | /* $OpenBSD: rthdr.c,v 1.13 2022/12/27 17:10:06 jmc Exp $ */ |
2 | /* $KAME: rthdr.c,v 1.22 2006/02/09 08:18:58 keiichi Exp $ */ | 2 | /* $KAME: rthdr.c,v 1.22 2006/02/09 08:18:58 keiichi Exp $ */ |
3 | 3 | ||
4 | /* | 4 | /* |
@@ -50,7 +50,7 @@ inet6_rth_space(int type, int segments) | |||
50 | case IPV6_RTHDR_TYPE_0: | 50 | case IPV6_RTHDR_TYPE_0: |
51 | return (((segments * 2) + 1) << 3); | 51 | return (((segments * 2) + 1) << 3); |
52 | default: | 52 | default: |
53 | return (0); /* type not suppported */ | 53 | return (0); /* type not supported */ |
54 | } | 54 | } |
55 | } | 55 | } |
56 | DEF_WEAK(inet6_rth_space); | 56 | DEF_WEAK(inet6_rth_space); |
diff --git a/src/lib/libc/net/ruserok.c b/src/lib/libc/net/ruserok.c index a399c013e2..291c702060 100644 --- a/src/lib/libc/net/ruserok.c +++ b/src/lib/libc/net/ruserok.c | |||
@@ -384,7 +384,7 @@ __gethostloop(struct sockaddr *raddr, socklen_t salen) | |||
384 | } | 384 | } |
385 | 385 | ||
386 | /* | 386 | /* |
387 | * either the DNS adminstrator has made a configuration | 387 | * either the DNS administrator has made a configuration |
388 | * mistake, or someone has attempted to spoof us | 388 | * mistake, or someone has attempted to spoof us |
389 | */ | 389 | */ |
390 | freeaddrinfo(res); | 390 | freeaddrinfo(res); |
diff --git a/src/lib/libc/stdlib/atexit.c b/src/lib/libc/stdlib/atexit.c index 81d2dc2476..3334617b65 100644 --- a/src/lib/libc/stdlib/atexit.c +++ b/src/lib/libc/stdlib/atexit.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: atexit.c,v 1.28 2022/10/22 15:21:25 deraadt Exp $ */ | 1 | /* $OpenBSD: atexit.c,v 1.29 2022/12/27 17:10:06 jmc Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2002 Daniel Hartmeier | 3 | * Copyright (c) 2002 Daniel Hartmeier |
4 | * All rights reserved. | 4 | * All rights reserved. |
@@ -112,7 +112,7 @@ unlock: | |||
112 | DEF_STRONG(__cxa_atexit); | 112 | DEF_STRONG(__cxa_atexit); |
113 | 113 | ||
114 | /* | 114 | /* |
115 | * Copy of atexit() used by libc and anything staticly linked into the | 115 | * Copy of atexit() used by libc and anything statically linked into the |
116 | * executable. This passes NULL for the dso, so the callbacks are only | 116 | * executable. This passes NULL for the dso, so the callbacks are only |
117 | * invoked by exit() and not dlclose() | 117 | * invoked by exit() and not dlclose() |
118 | */ | 118 | */ |
diff --git a/src/lib/libc/stdlib/div.c b/src/lib/libc/stdlib/div.c index beaa428c7a..5e6164f0bb 100644 --- a/src/lib/libc/stdlib/div.c +++ b/src/lib/libc/stdlib/div.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: div.c,v 1.6 2015/09/13 08:31:47 guenther Exp $ */ | 1 | /* $OpenBSD: div.c,v 1.7 2022/12/27 17:10:06 jmc Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 1990 Regents of the University of California. | 3 | * Copyright (c) 1990 Regents of the University of California. |
4 | * All rights reserved. | 4 | * All rights reserved. |
@@ -46,7 +46,7 @@ div(int num, int denom) | |||
46 | * words, we should always truncate the quotient towards | 46 | * words, we should always truncate the quotient towards |
47 | * 0, never -infinity. | 47 | * 0, never -infinity. |
48 | * | 48 | * |
49 | * Machine division and remainer may work either way when | 49 | * Machine division and remainder may work either way when |
50 | * one or both of n or d is negative. If only one is | 50 | * one or both of n or d is negative. If only one is |
51 | * negative and r.quot has been truncated towards -inf, | 51 | * negative and r.quot has been truncated towards -inf, |
52 | * r.rem will have the same sign as denom and the opposite | 52 | * r.rem will have the same sign as denom and the opposite |
diff --git a/src/lib/libc/stdlib/gcvt.c b/src/lib/libc/stdlib/gcvt.c index f9528e7e7a..d3ab1b0415 100644 --- a/src/lib/libc/stdlib/gcvt.c +++ b/src/lib/libc/stdlib/gcvt.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: gcvt.c,v 1.14 2019/01/25 00:19:25 millert Exp $ */ | 1 | /* $OpenBSD: gcvt.c,v 1.15 2022/12/27 17:10:06 jmc Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2002, 2003, 2006, 2010 | 4 | * Copyright (c) 2002, 2003, 2006, 2010 |
@@ -61,7 +61,7 @@ gcvt(double value, int ndigit, char *buf) | |||
61 | if (sign) | 61 | if (sign) |
62 | *dst++ = '-'; | 62 | *dst++ = '-'; |
63 | 63 | ||
64 | /* Match printf(3) behavior for exponential vs. regular fomatting. */ | 64 | /* Match printf(3) behavior for exponential vs. regular formatting. */ |
65 | if (decpt <= -4 || decpt > ndigit) { | 65 | if (decpt <= -4 || decpt > ndigit) { |
66 | /* exponential format (e.g. 1.2345e+13) */ | 66 | /* exponential format (e.g. 1.2345e+13) */ |
67 | if (--decpt < 0) { | 67 | if (--decpt < 0) { |