public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] memcmp.3: wfix
@ 2023-02-15 13:07 Tom Schwindl
  2023-02-15 15:18 ` G. Branden Robinson
  2023-02-15 17:17 ` Jakub Wilk
  0 siblings, 2 replies; 8+ messages in thread
From: Tom Schwindl @ 2023-02-15 13:07 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: linux-man

Signed-off-by: Tom Schwindl <schwindl@posteo.de>
---
 man3/memcmp.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man3/memcmp.3 b/man3/memcmp.3
index c2427a00ac12..26aeaa439e78 100644
--- a/man3/memcmp.3
+++ b/man3/memcmp.3
@@ -73,7 +73,7 @@ Instead, a function that performs comparisons in constant time is required.
 Some operating systems provide such a function (e.g., NetBSD's
 .BR consttime_memequal ()),
 but no such function is specified in POSIX.
-On Linux, it may be necessary to implement such a function oneself.
+On Linux, it may be necessary to implement such a function yourself.
 .SH SEE ALSO
 .BR bstring (3),
 .BR strcasecmp (3),
-- 
2.39.1


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

* Re: [PATCH] memcmp.3: wfix
  2023-02-15 13:07 [PATCH] memcmp.3: wfix Tom Schwindl
@ 2023-02-15 15:18 ` G. Branden Robinson
  2023-02-15 16:11   ` Tom Schwindl
  2023-02-15 17:17 ` Jakub Wilk
  1 sibling, 1 reply; 8+ messages in thread
From: G. Branden Robinson @ 2023-02-15 15:18 UTC (permalink / raw)
  To: Tom Schwindl; +Cc: Alejandro Colomar, linux-man

[-- Attachment #1: Type: text/plain, Size: 283 bytes --]

At 2023-02-15T13:07:50+0000, Tom Schwindl wrote:
> -On Linux, it may be necessary to implement such a function oneself.
> +On Linux, it may be necessary to implement such a function yourself.

The existing language is sound.  What is the motivation for the change?

Regards,
Branden

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

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

* Re: [PATCH] memcmp.3: wfix
  2023-02-15 15:18 ` G. Branden Robinson
@ 2023-02-15 16:11   ` Tom Schwindl
  2023-02-15 17:00     ` Alejandro Colomar
  0 siblings, 1 reply; 8+ messages in thread
From: Tom Schwindl @ 2023-02-15 16:11 UTC (permalink / raw)
  To: G. Branden Robinson; +Cc: Alejandro Colomar, linux-man

On Wed Feb 15, 2023 at 4:18 PM CET, G. Branden Robinson wrote:
> At 2023-02-15T13:07:50+0000, Tom Schwindl wrote:
> > -On Linux, it may be necessary to implement such a function oneself.
> > +On Linux, it may be necessary to implement such a function yourself.
>
> The existing language is sound.  What is the motivation for the change?
>
> Regards,
> Branden

From a formal perspective it's probably fine. But as a reader, I think it sounds
wrong. Or at least strange. That may be because I'm not a native speaker, but
neither is the majority of the manpage readers.
I simply think that "yourself" sounds better in this context. That's also the
reason for this patch. I've read the manpage and hesitated for a short moment
which, for me, indicates a poor choice of words. A `grep -i -r oneself` also
only yields a single result, this manpage.

-- 
Best Regards,
Tom Schwindl

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

* Re: [PATCH] memcmp.3: wfix
  2023-02-15 16:11   ` Tom Schwindl
@ 2023-02-15 17:00     ` Alejandro Colomar
  0 siblings, 0 replies; 8+ messages in thread
From: Alejandro Colomar @ 2023-02-15 17:00 UTC (permalink / raw)
  To: Tom Schwindl, G. Branden Robinson; +Cc: Alejandro Colomar, linux-man


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

Hi Tom,

On 2/15/23 17:11, Tom Schwindl wrote:
> On Wed Feb 15, 2023 at 4:18 PM CET, G. Branden Robinson wrote:
>> At 2023-02-15T13:07:50+0000, Tom Schwindl wrote:
>>> -On Linux, it may be necessary to implement such a function oneself.
>>> +On Linux, it may be necessary to implement such a function yourself.
>>
>> The existing language is sound.  What is the motivation for the change?
>>
>> Regards,
>> Branden
> 
> From a formal perspective it's probably fine. But as a reader, I think it sounds
> wrong. Or at least strange. That may be because I'm not a native speaker, but
> neither is the majority of the manpage readers.
> I simply think that "yourself" sounds better in this context. That's also the
> reason for this patch. I've read the manpage and hesitated for a short moment
> which, for me, indicates a poor choice of words. A `grep -i -r oneself` also
> only yields a single result, this manpage.

To me, the existing text reads fine.  Maybe it's because in my language
(Spanish), there's a similar expression for oneself, which may not exist
in other languages?

I'd keep it as it, unless I see more similar reports.  Anyway, thanks
for the report!

Cheers,

Alex
> 

-- 
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5

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

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

* Re: [PATCH] memcmp.3: wfix
  2023-02-15 13:07 [PATCH] memcmp.3: wfix Tom Schwindl
  2023-02-15 15:18 ` G. Branden Robinson
@ 2023-02-15 17:17 ` Jakub Wilk
  2023-02-15 17:26   ` Alejandro Colomar
  1 sibling, 1 reply; 8+ messages in thread
From: Jakub Wilk @ 2023-02-15 17:17 UTC (permalink / raw)
  To: Tom Schwindl; +Cc: Alejandro Colomar, G. Branden Robinson, linux-man

* Tom Schwindl <schwindl@posteo.de>, 2023-02-15 13:07:
>-On Linux, it may be necessary to implement such a function oneself.

This sounds awkward to me too.

>+On Linux, it may be necessary to implement such a function yourself.

This is better, but I'd use active voice here:

   On Linux, you may need to implement such a function yourself.

(I'm not a native speaker.)

-- 
Jakub Wilk

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

* Re: [PATCH] memcmp.3: wfix
  2023-02-15 17:17 ` Jakub Wilk
@ 2023-02-15 17:26   ` Alejandro Colomar
  0 siblings, 0 replies; 8+ messages in thread
From: Alejandro Colomar @ 2023-02-15 17:26 UTC (permalink / raw)
  To: Jakub Wilk, Tom Schwindl
  Cc: Alejandro Colomar, G. Branden Robinson, linux-man


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

Hi Jakub,

On 2/15/23 18:17, Jakub Wilk wrote:
> * Tom Schwindl <schwindl@posteo.de>, 2023-02-15 13:07:
>> -On Linux, it may be necessary to implement such a function oneself.
> 
> This sounds awkward to me too.
> 
>> +On Linux, it may be necessary to implement such a function yourself.
> 
> This is better, but I'd use active voice here:
> 
>    On Linux, you may need to implement such a function yourself.

Seems reasonable.  By using active voice, you make it more personal,
and "yourself" sounds more appropriate than "oneself".

Would any of you please send a patch?

Thanks for the reports!

Cheers,

Alex

> 
> (I'm not a native speaker.)
> 

-- 
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5

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

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

* [PATCH] memcmp.3: wfix
@ 2023-02-15 17:33 Tom Schwindl
  2023-02-15 17:41 ` Alejandro Colomar
  0 siblings, 1 reply; 8+ messages in thread
From: Tom Schwindl @ 2023-02-15 17:33 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: linux-man

Signed-off-by: Tom Schwindl <schwindl@posteo.de>
---
 man3/memcmp.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man3/memcmp.3 b/man3/memcmp.3
index c2427a00ac12..de712bd0ae13 100644
--- a/man3/memcmp.3
+++ b/man3/memcmp.3
@@ -73,7 +73,7 @@ Instead, a function that performs comparisons in constant time is required.
 Some operating systems provide such a function (e.g., NetBSD's
 .BR consttime_memequal ()),
 but no such function is specified in POSIX.
-On Linux, it may be necessary to implement such a function oneself.
+On Linux, you may need to implement such a function yourself.
 .SH SEE ALSO
 .BR bstring (3),
 .BR strcasecmp (3),
-- 
2.39.1


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

* Re: [PATCH] memcmp.3: wfix
  2023-02-15 17:33 Tom Schwindl
@ 2023-02-15 17:41 ` Alejandro Colomar
  0 siblings, 0 replies; 8+ messages in thread
From: Alejandro Colomar @ 2023-02-15 17:41 UTC (permalink / raw)
  To: Tom Schwindl
  Cc: linux-man, G. Branden Robinson, Jakub Wilk, Alejandro Colomar


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

Hi Tom,

On 2/15/23 18:33, Tom Schwindl wrote:
> Signed-off-by: Tom Schwindl <schwindl@posteo.de>

Patch applied.  Thanks!

Cheers,

Alex

> ---
>  man3/memcmp.3 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man3/memcmp.3 b/man3/memcmp.3
> index c2427a00ac12..de712bd0ae13 100644
> --- a/man3/memcmp.3
> +++ b/man3/memcmp.3
> @@ -73,7 +73,7 @@ Instead, a function that performs comparisons in constant time is required.
>  Some operating systems provide such a function (e.g., NetBSD's
>  .BR consttime_memequal ()),
>  but no such function is specified in POSIX.
> -On Linux, it may be necessary to implement such a function oneself.
> +On Linux, you may need to implement such a function yourself.
>  .SH SEE ALSO
>  .BR bstring (3),
>  .BR strcasecmp (3),

-- 
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5

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

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

end of thread, other threads:[~2023-02-15 17:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-15 13:07 [PATCH] memcmp.3: wfix Tom Schwindl
2023-02-15 15:18 ` G. Branden Robinson
2023-02-15 16:11   ` Tom Schwindl
2023-02-15 17:00     ` Alejandro Colomar
2023-02-15 17:17 ` Jakub Wilk
2023-02-15 17:26   ` Alejandro Colomar
  -- strict thread matches above, loose matches on Subject: below --
2023-02-15 17:33 Tom Schwindl
2023-02-15 17:41 ` Alejandro Colomar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox