Re: [PATCH v3 5/9] adjtimex.2, clone.2, mprotect.2, open.2, syscall.2, regex.3: ffix, wfix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/20/23 14:52, Alejandro Colomar wrote:
> On 4/20/23 14:12, наб wrote:
>> Use "bitwise OR" instead of "bitwise-or" (with fonts).
>> No other pages spell it like this.
>>
>> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@xxxxxxxxxxxxxxxxxx>
> 
> Patch applied.  Thanks.
> 
>> ---
>> Range-diff against v2:
>> 1:  1ccffe37b < -:  --------- regex.3: ffix
>> -:  --------- > 1:  830173bb5 adjtimex.2, clone.2, mprotect.2, open.2, syscall.2, regex.3: ffix, wfix
> 
> I rewrote the subject to:
> 
> man*/: ffix, wfix
> 
>>
>> idk if this did anything
> 
> Heh, it didn't do much.  What happened is that the patches are so
> different, that git thinks you just removed one patch, and wrote
> a different one from scratch.  Anyway, I find it useful most of
> the time.
> 
> Cheers,
> Alex
> 
>>
>>  man2/adjtimex.2 | 2 +-
>>  man2/clone.2    | 2 +-
>>  man2/mprotect.2 | 2 +-
>>  man2/open.2     | 2 +-
>>  man2/syscall.2  | 2 +-
>>  man3/regex.3    | 4 ++--
>>  6 files changed, 7 insertions(+), 7 deletions(-)
>>
>> diff --git a/man2/adjtimex.2 b/man2/adjtimex.2
>> index 523347de2..40b05cb0e 100644
>> --- a/man2/adjtimex.2
>> +++ b/man2/adjtimex.2
>> @@ -90,7 +90,7 @@ the constants used for

BTW, another thing you might find useful is this:

$ cat ~/.config/git/attributes 
*.[1-8]* diff=man


And then in your .gitconfig:

[diff "man"]
	xfuncname = "^\\.S[SH] .*$"


You may want to use a regex that also works for mdoc(7).

This produces the following hunks:

@@ -90,7 +90,7 @@ .SH DESCRIPTION

>>  .BR ntp_adjtime ()
>>  are equivalent but differently named.)
>>  It is a bit mask containing a
>> -.RI bitwise- or
>> +bitwise OR
>>  combination of zero or more of the following bits:
>>  .TP
>>  .B ADJ_OFFSET
>> diff --git a/man2/clone.2 b/man2/clone.2
>> index 42ee3fee8..ec43841eb 100644
>> --- a/man2/clone.2
>> +++ b/man2/clone.2
>> @@ -413,7 +413,7 @@ mask in the remainder of this page.

@@ -413,7 +413,7 @@ .SS The flags mask

>>  .PP
>>  The
>>  .I flags
>> -mask is specified as a bitwise-OR of zero or more of
>> +mask is specified as a bitwise OR of zero or more of
>>  the constants listed below.
>>  Except as noted below, these flags are available
>>  (and have the same effect) in both
>> diff --git a/man2/mprotect.2 b/man2/mprotect.2
>> index 52c14da05..5a829dafe 100644
>> --- a/man2/mprotect.2
>> +++ b/man2/mprotect.2
>> @@ -43,7 +43,7 @@ signal for the process.

@@ -43,7 +43,7 @@ .SH DESCRIPTION

>>  .I prot
>>  is a combination of the following access flags:
>>  .B PROT_NONE
>> -or a bitwise-or of the other values in the following list:
>> +or a bitwise OR of the other values in the following list:
>>  .TP
>>  .B PROT_NONE
>>  The memory cannot be accessed at all.
>> diff --git a/man2/open.2 b/man2/open.2
>> index 77c06b55d..b5aff887c 100644
>> --- a/man2/open.2
>> +++ b/man2/open.2
>> @@ -123,7 +123,7 @@ respectively.

@@ -123,7 +123,7 @@ .SH DESCRIPTION

>>  .PP
>>  In addition, zero or more file creation flags and file status flags
>>  can be
>> -.RI bitwise- or 'd
>> +bitwise ORed
>>  in
>>  .IR flags .
>>  The
>> diff --git a/man2/syscall.2 b/man2/syscall.2
>> index 3eba62182..55233ac51 100644
>> --- a/man2/syscall.2
>> +++ b/man2/syscall.2
>> @@ -235,7 +235,7 @@ nuances:

@@ -235,7 +235,7 @@ .SS Architecture calling conventions

>>  In order to indicate that a system call is called under the x32 ABI,
>>  an additional bit,
>>  .BR __X32_SYSCALL_BIT ,
>> -is bitwise-ORed with the system call number.
>> +is bitwise ORed with the system call number.
>>  The ABI used by a process affects some process behaviors,
>>  including signal handling or system call restarting.
>>  .IP \[bu]
>> diff --git a/man3/regex.3 b/man3/regex.3
>> index 3b504a4d5..3ee58f61d 100644
>> --- a/man3/regex.3
>> +++ b/man3/regex.3
>> @@ -56,7 +56,7 @@ pattern buffer.

@@ -56,7 +56,7 @@ .SS POSIX regex compiling

>>  .PP
>>  .I cflags
>>  is the
>> -.RB bitwise- or
>> +bitwise OR
>>  of zero or more of the following:
>>  .TP
>>  .B REG_EXTENDED
>> @@ -121,7 +121,7 @@ and

@@ -121,7 +121,7 @@ .SS POSIX regex matching

>>  are used to provide information regarding the location of any matches.
>>  .I eflags
>>  is the
>> -.RB bitwise- or
>> +bitwise OR
>>  of zero or more of the following flags:
>>  .TP
>>  .B REG_NOTBOL
> 

Cheers,
Alex

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

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux