Skip to content

Commit 121abf8

Browse files
author
naddy
committed
man pages: add missing commas between subordinate and main clauses
jmc@ dislikes a comma before "then" in a conditional, so leave those untouched. ok jmc@
1 parent dcdb591 commit 121abf8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+167
-167
lines changed

src/lib/libc/net/getaddrinfo.3

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.\" $OpenBSD: getaddrinfo.3,v 1.59 2019/08/30 20:20:50 jmc Exp $
1+
.\" $OpenBSD: getaddrinfo.3,v 1.60 2022/03/31 17:27:16 naddy Exp $
22
.\" $KAME: getaddrinfo.3,v 1.36 2005/01/05 03:23:05 itojun Exp $
33
.\"
44
.\" Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
@@ -16,7 +16,7 @@
1616
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1717
.\" PERFORMANCE OF THIS SOFTWARE.
1818
.\"
19-
.Dd $Mdocdate: August 30 2019 $
19+
.Dd $Mdocdate: March 31 2022 $
2020
.Dt GETADDRINFO 3
2121
.Os
2222
.Sh NAME
@@ -105,15 +105,15 @@ or
105105
.Dv SOCK_RAW .
106106
When
107107
.Fa ai_socktype
108-
is zero the caller will accept any socket type.
108+
is zero, the caller will accept any socket type.
109109
.It Fa ai_protocol
110110
Indicates which transport protocol is desired,
111111
.Dv IPPROTO_UDP
112112
or
113113
.Dv IPPROTO_TCP .
114114
If
115115
.Fa ai_protocol
116-
is zero the caller will accept any protocol.
116+
is zero, the caller will accept any protocol.
117117
.It Fa ai_flags
118118
.Fa ai_flags
119119
is formed by
@@ -180,7 +180,7 @@ and no service name resolution should be attempted.
180180
.It Dv AI_PASSIVE
181181
If the
182182
.Dv AI_PASSIVE
183-
bit is set it indicates that the returned socket address structure
183+
bit is set, it indicates that the returned socket address structure
184184
is intended for use in a call to
185185
.Xr bind 2 .
186186
In this case, if the

src/lib/libc/net/inet6_opt_init.3

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.\" $OpenBSD: inet6_opt_init.3,v 1.7 2022/03/29 18:15:52 naddy Exp $
1+
.\" $OpenBSD: inet6_opt_init.3,v 1.8 2022/03/31 17:27:16 naddy Exp $
22
.\" $KAME: inet6_opt_init.3,v 1.7 2004/12/27 05:08:23 itojun Exp $
33
.\"
44
.\" Copyright (C) 2004 WIDE Project.
@@ -28,7 +28,7 @@
2828
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2929
.\" SUCH DAMAGE.
3030
.\"
31-
.Dd $Mdocdate: March 29 2022 $
31+
.Dd $Mdocdate: March 31 2022 $
3232
.Dt INET6_OPT_INIT 3
3333
.Os
3434
.\"
@@ -97,7 +97,7 @@ The
9797
function can perform different jobs.
9898
When a valid
9999
.Fa extbuf
100-
argument is supplied it appends an option to the extension buffer and
100+
argument is supplied, it appends an option to the extension buffer and
101101
returns the updated total length as well as a pointer to the newly
102102
created option in
103103
.Fa databufp .
@@ -173,7 +173,7 @@ or
173173
When
174174
.Fa extbuf
175175
is not
176-
.Dv NULL
176+
.Dv NULL ,
177177
the function also sets up the appropriate padding bytes by inserting a
178178
Pad1 or PadN option of the proper length.
179179
.Pp
@@ -238,7 +238,7 @@ and
238238
point to the 8-bit option type, the 8-bit option length and the option
239239
data respectively.
240240
This function does not return any PAD1 or PADN options.
241-
When an error occurs or there are no more options the return
241+
When an error occurs or there are no more options, the return
242242
value is \-1.
243243
.\"
244244
.Ss inet6_opt_find

src/lib/libc/net/inet6_rth_space.3

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.\" $OpenBSD: inet6_rth_space.3,v 1.7 2014/06/11 16:59:47 chrisz Exp $
1+
.\" $OpenBSD: inet6_rth_space.3,v 1.8 2022/03/31 17:27:16 naddy Exp $
22
.\" $KAME: inet6_rth_space.3,v 1.7 2005/01/05 03:00:44 itojun Exp $
33
.\"
44
.\" Copyright (C) 2004 WIDE Project.
@@ -28,7 +28,7 @@
2828
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2929
.\" SUCH DAMAGE.
3030
.\"
31-
.Dd $Mdocdate: June 11 2014 $
31+
.Dd $Mdocdate: March 31 2022 $
3232
.Dt INET6_RTH_SPACE 3
3333
.Os
3434
.\"
@@ -85,7 +85,7 @@ argument and containing the number of addresses specified in the
8585
.Fa segments
8686
argument.
8787
When the type is
88-
.Dv IPV6_RTHDR_TYPE_0
88+
.Dv IPV6_RTHDR_TYPE_0 ,
8989
the number of segments must be from 0 through 127.
9090
The return value from this function is the number of bytes required to
9191
store the routing header.

src/lib/libc/net/inet_net_ntop.3

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.\" $OpenBSD: inet_net_ntop.3,v 1.2 2021/09/01 15:59:22 claudio Exp $
1+
.\" $OpenBSD: inet_net_ntop.3,v 1.3 2022/03/31 17:27:16 naddy Exp $
22
.\" $NetBSD: inet_net.3,v 1.1 1997/06/18 02:25:27 lukem Exp $
33
.\"
44
.\" Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
2828
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2929
.\" POSSIBILITY OF SUCH DAMAGE.
3030
.\"
31-
.Dd $Mdocdate: September 1 2021 $
31+
.Dd $Mdocdate: March 31 2022 $
3232
.Dt INET_NET_NTOP 3
3333
.Os
3434
.Sh NAME
@@ -110,7 +110,7 @@ is in the range
110110
and is used to explicitly specify the number of bits in the network address.
111111
When
112112
.Dq Li /bits
113-
is not specified the number of bits in the network address is calculated
113+
is not specified, the number of bits in the network address is calculated
114114
as the larger of the number of bits in the class to which the address
115115
belongs and the number of bits provided rounded up modulo 8.
116116
Examples:
@@ -176,7 +176,7 @@ is in the range
176176
and is used to explicitly specify the number of bits in the network address.
177177
When
178178
.Dq Li /bits
179-
is not specified 128 is used.
179+
is not specified, 128 is used.
180180
Note that when the number of bits is specified using
181181
.Dq Li /bits
182182
notation, the value of the address still includes all bits supplied

src/lib/libc/stdlib/malloc.3

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3131
.\" SUCH DAMAGE.
3232
.\"
33-
.\" $OpenBSD: malloc.3,v 1.128 2021/04/09 06:04:15 otto Exp $
33+
.\" $OpenBSD: malloc.3,v 1.129 2022/03/31 17:27:16 naddy Exp $
3434
.\"
35-
.Dd $Mdocdate: April 9 2021 $
35+
.Dd $Mdocdate: March 31 2022 $
3636
.Dt MALLOC 3
3737
.Os
3838
.Sh NAME
@@ -423,7 +423,7 @@ and multiplying
423423
.Fa oldnmemb
424424
and
425425
.Fa size
426-
results in integer overflow
426+
results in integer overflow,
427427
.Fn recallocarray
428428
returns
429429
.Dv NULL
@@ -610,7 +610,7 @@ Here is a brief description of the error messages and what they mean:
610610
.It Dq out of memory
611611
If the
612612
.Cm X
613-
option is specified it is an error for the allocation functions
613+
option is specified, it is an error for the allocation functions
614614
to return
615615
.Dv NULL .
616616
.It Dq bogus pointer (double free?)

src/lib/libc/stdlib/tsearch.3

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.\" $OpenBSD: tsearch.3,v 1.21 2019/01/25 00:19:25 millert Exp $
1+
.\" $OpenBSD: tsearch.3,v 1.22 2022/03/31 17:27:16 naddy Exp $
22
.\"
33
.\" Copyright (c) 1997 Todd C. Miller <millert@openbsd.org>
44
.\"
@@ -14,7 +14,7 @@
1414
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1515
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1616
.\"
17-
.Dd $Mdocdate: January 25 2019 $
17+
.Dd $Mdocdate: March 31 2022 $
1818
.Dt TSEARCH 3
1919
.Os
2020
.Sh NAME
@@ -63,7 +63,7 @@ except that if no match is found,
6363
is inserted into the tree and a pointer to it is returned.
6464
If
6565
.Fa rootp
66-
points to a null value a new binary search tree is created.
66+
points to a null value, a new binary search tree is created.
6767
.Pp
6868
.Fn tdelete
6969
deletes a node from the specified binary search tree and returns

src/lib/libcrypto/man/ACCESS_DESCRIPTION_new.3

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.\" $OpenBSD: ACCESS_DESCRIPTION_new.3,v 1.5 2019/06/06 01:06:58 schwarze Exp $
1+
.\" $OpenBSD: ACCESS_DESCRIPTION_new.3,v 1.6 2022/03/31 17:27:16 naddy Exp $
22
.\"
33
.\" Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org>
44
.\"
@@ -14,7 +14,7 @@
1414
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1515
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1616
.\"
17-
.Dd $Mdocdate: June 6 2019 $
17+
.Dd $Mdocdate: March 31 2022 $
1818
.Dt ACCESS_DESCRIPTION_NEW 3
1919
.Os
2020
.Sh NAME
@@ -94,7 +94,7 @@ object, which is a
9494
and represents an ASN.1
9595
.Vt AuthorityInfoAccessSyntax
9696
structure defined in RFC 5280 section 4.2.2.1.
97-
If can be used for the authority information access extension of
97+
It can be used for the authority information access extension of
9898
certificates and certificate revocation lists and for the subject
9999
information access extension of certificates.
100100
.Fn AUTHORITY_INFO_ACCESS_free

src/lib/libcrypto/man/ASN1_TIME_set.3

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.\" $OpenBSD: ASN1_TIME_set.3,v 1.16 2021/11/21 17:35:53 schwarze Exp $
1+
.\" $OpenBSD: ASN1_TIME_set.3,v 1.17 2022/03/31 17:27:16 naddy Exp $
22
.\" full merge up to: OpenSSL e9b77246 Jan 20 19:58:49 2017 +0100
33
.\" selective merge up to: OpenSSL 24a535ea Sep 22 13:14:20 2020 +0100
44
.\"
@@ -50,7 +50,7 @@
5050
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
5151
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
5252
.\"
53-
.Dd $Mdocdate: November 21 2021 $
53+
.Dd $Mdocdate: March 31 2022 $
5454
.Dt ASN1_TIME_SET 3
5555
.Os
5656
.Sh NAME
@@ -321,7 +321,7 @@ If both
321321
.Pf * Fa pday
322322
and
323323
.Pf * Fa psec
324-
are nonzero they will always have the same sign.
324+
are nonzero, they will always have the same sign.
325325
The value of
326326
.Pf * Fa psec
327327
will always be less than the number of seconds in a day.

src/lib/libcrypto/man/BIO_f_buffer.3

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.\" $OpenBSD: BIO_f_buffer.3,v 1.10 2018/05/01 17:05:05 schwarze Exp $
1+
.\" $OpenBSD: BIO_f_buffer.3,v 1.11 2022/03/31 17:27:16 naddy Exp $
22
.\" OpenSSL 9b86974e Mar 19 12:32:14 2016 -0400
33
.\"
44
.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -49,7 +49,7 @@
4949
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
5050
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
5151
.\"
52-
.Dd $Mdocdate: May 1 2018 $
52+
.Dd $Mdocdate: March 31 2022 $
5353
.Dt BIO_F_BUFFER 3
5454
.Os
5555
.Sh NAME
@@ -132,7 +132,7 @@ bytes of
132132
.Fa buf .
133133
If
134134
.Fa num
135-
is larger than the current buffer size the buffer is expanded.
135+
is larger than the current buffer size, the buffer is expanded.
136136
.Pp
137137
Except
138138
.Fn BIO_f_buffer ,

src/lib/libcrypto/man/BIO_s_accept.3

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.\" $OpenBSD: BIO_s_accept.3,v 1.11 2018/05/12 20:12:17 schwarze Exp $
1+
.\" $OpenBSD: BIO_s_accept.3,v 1.12 2022/03/31 17:27:16 naddy Exp $
22
.\" OpenSSL c03726ca Thu Aug 27 12:28:08 2015 -0400
33
.\"
44
.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -48,7 +48,7 @@
4848
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
4949
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
5050
.\"
51-
.Dd $Mdocdate: May 12 2018 $
51+
.Dd $Mdocdate: March 31 2022 $
5252
.Dt BIO_S_ACCEPT 3
5353
.Os
5454
.Sh NAME
@@ -223,7 +223,7 @@ incoming connection before processing I/O calls.
223223
When an accept BIO is not at then end of a chain,
224224
it passes I/O calls to the next BIO in the chain.
225225
.Pp
226-
When a connection is established a new socket BIO is created
226+
When a connection is established, a new socket BIO is created
227227
for the connection and appended to the chain.
228228
That is the chain is now accept->socket.
229229
This effectively means that attempting I/O on an initial accept

0 commit comments

Comments
 (0)