All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/6] getrlimit.2: tfix
@ 2022-07-29 11:45 Štěpán Němec
  2022-08-01 13:03 ` Alejandro Colomar
  0 siblings, 1 reply; 3+ messages in thread
From: Štěpán Němec @ 2022-07-29 11:45 UTC (permalink / raw)
  To: linux-man, Alejandro Colomar, Michael Kerrisk

Signed-off-by: Štěpán Němec <stepnem@gmail.com>
---
 man2/getrlimit.2 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/man2/getrlimit.2 b/man2/getrlimit.2
index 6cda4d48a982..bd330289a8fc 100644
--- a/man2/getrlimit.2
+++ b/man2/getrlimit.2
@@ -452,14 +452,14 @@ and
 .PP
 If the
 .I new_limit
-argument is a not NULL, then the
+argument is not NULL, then the
 .I rlimit
 structure to which it points is used to set new values for
 the soft and hard limits for
 .IR resource .
 If the
 .I old_limit
-argument is a not NULL, then a successful call to
+argument is not NULL, then a successful call to
 .BR prlimit ()
 places the previous soft and hard limits for
 .I resource

base-commit: 5fa2ecb53656c9fdcbd5a21972906e3da33cb504
-- 
2.37.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/6] getrlimit.2: tfix
  2022-07-29 11:45 [PATCH 1/6] getrlimit.2: tfix Štěpán Němec
@ 2022-08-01 13:03 ` Alejandro Colomar
  2022-08-01 14:09   ` Štěpán Němec
  0 siblings, 1 reply; 3+ messages in thread
From: Alejandro Colomar @ 2022-08-01 13:03 UTC (permalink / raw)
  To: Štěpán Němec, linux-man; +Cc: G. Branden Robinson


[-- Attachment #1.1: Type: text/plain, Size: 1389 bytes --]

Hi Štěpán,

On 7/29/22 13:45, Štěpán Němec wrote:
> Signed-off-by: Štěpán Němec <stepnem@gmail.com>

I applied the 6 patches from the patch set, including the controversial 
\~ vs '\ ' one.  I think that fix is better as a separate one, which 
should include references to the SI that I quoted.

I'll try to apply a global fix about spacing.  Anyway, could you please 
share the grep commands you used to find it?  It might help me see you 
command, in case I miss some corner cases.

Cheers,

Alex

> ---
>   man2/getrlimit.2 | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/man2/getrlimit.2 b/man2/getrlimit.2
> index 6cda4d48a982..bd330289a8fc 100644
> --- a/man2/getrlimit.2
> +++ b/man2/getrlimit.2
> @@ -452,14 +452,14 @@ and
>   .PP
>   If the
>   .I new_limit
> -argument is a not NULL, then the
> +argument is not NULL, then the
>   .I rlimit
>   structure to which it points is used to set new values for
>   the soft and hard limits for
>   .IR resource .
>   If the
>   .I old_limit
> -argument is a not NULL, then a successful call to
> +argument is not NULL, then a successful call to
>   .BR prlimit ()
>   places the previous soft and hard limits for
>   .I resource
> 
> base-commit: 5fa2ecb53656c9fdcbd5a21972906e3da33cb504

-- 
Alejandro Colomar
<http://www.alejandro-colomar.es/>

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/6] getrlimit.2: tfix
  2022-08-01 13:03 ` Alejandro Colomar
@ 2022-08-01 14:09   ` Štěpán Němec
  0 siblings, 0 replies; 3+ messages in thread
From: Štěpán Němec @ 2022-08-01 14:09 UTC (permalink / raw)
  To: Alejandro Colomar, linux-man; +Cc: G. Branden Robinson

On Mon, 01 Aug 2022 15:03:29 +0200
Alejandro Colomar wrote:

> On 7/29/22 13:45, Štěpán Němec wrote:
>> Signed-off-by: Štěpán Němec <stepnem@gmail.com>
>
> I applied the 6 patches from the patch set, including the controversial 
> \~ vs '\ ' one.  I think that fix is better as a separate one, which 
> should include references to the SI that I quoted.

Thank you. For convenience, here is the one '\~' outlier (I was sitting
on that one in case Branden or anyone else would still want to chime in:
the conflict with groff_man(7) does seem unfortunate), feel free to do
with it as you please:

-- >8 --
From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20N=C4=9Bmec?= <stepnem@gmail.com>
Date: Sat, 30 Jul 2022 20:42:03 +0200
Subject: [PATCH] ioctl_fideduperange.2: use '\ ' instead of '\~' between
 number and unit

Signed-off-by: Štěpán Němec <stepnem@gmail.com>
---
 man2/ioctl_fideduperange.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man2/ioctl_fideduperange.2 b/man2/ioctl_fideduperange.2
index 8bf114e8bb3b..585ed8beb9d7 100644
--- a/man2/ioctl_fideduperange.2
+++ b/man2/ioctl_fideduperange.2
@@ -100,7 +100,7 @@ and the struct
 array must not exceed the system page size.
 The maximum size of
 .I src_length
-is filesystem dependent and is typically 16\~MiB.
+is filesystem dependent and is typically 16\ MiB.
 This limit will be enforced silently by the filesystem.
 By convention, the storage used by
 .I src_fd

-- 8< --

> I'll try to apply a global fix about spacing.  Anyway, could you please 
> share the grep commands you used to find it?  It might help me see you 
> command, in case I miss some corner cases.

Oh, nothing fancy at all, just grepping for '\ ' or '\~', e.g.

  grep -R '\\~' man*

-- 
Štěpán

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-01 14:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-29 11:45 [PATCH 1/6] getrlimit.2: tfix Štěpán Němec
2022-08-01 13:03 ` Alejandro Colomar
2022-08-01 14:09   ` Štěpán Němec

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.