* [PATCH] umask.2: S_I* are B
@ 2022-04-25 1:03 наб
2022-04-25 20:56 ` Alejandro Colomar
0 siblings, 1 reply; 2+ messages in thread
From: наб @ 2022-04-25 1:03 UTC (permalink / raw)
To: Alejandro Colomar (man-pages); +Cc: linux-man
[-- Attachment #1: Type: text/plain, Size: 1281 bytes --]
This is more consistent with the other pages and, more importantly,
fixes the atrocious "I[S_IWGRP] I[|] I[S_IWOTH]" highlighting in the
first hunk
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
---
man2/umask.2 | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/man2/umask.2 b/man2/umask.2
index 8a11c50e9..ef1a6decf 100644
--- a/man2/umask.2
+++ b/man2/umask.2
@@ -85,7 +85,7 @@ are described in
.BR inode (7).
.PP
The typical default value for the process umask is
-.I S_IWGRP\ |\ S_IWOTH
+.BR S_IWGRP " | " S_IWOTH
(octal 022).
In the usual case where the
.I mode
@@ -95,7 +95,7 @@ is specified as:
.PP
.in +4n
.EX
-S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH
+.BR S_IRUSR " | " S_IWUSR " | " S_IRGRP " | " S_IWGRP " | " S_IROTH " | " S_IWOTH
.EE
.in
.PP
@@ -104,11 +104,11 @@ resulting file will be:
.PP
.in +4n
.EX
-S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH
+.BR S_IRUSR " | " S_IWUSR " | " S_IRGRP " | " S_IROTH
.EE
.in
.PP
-(because 0666 & \(ti022 = 0644; i.e., rw\-r\-\-r\-\-).
+(because 0666 & \(ti022 = 0644; i.e. rw\-r\-\-r\-\-).
.SH RETURN VALUE
This system call always succeeds and the previous value of the mask
is returned.
--
2.30.2
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] umask.2: S_I* are B
2022-04-25 1:03 [PATCH] umask.2: S_I* are B наб
@ 2022-04-25 20:56 ` Alejandro Colomar
0 siblings, 0 replies; 2+ messages in thread
From: Alejandro Colomar @ 2022-04-25 20:56 UTC (permalink / raw)
To: наб; +Cc: linux-man
Hi наб!
On 4/25/22 03:03, наб wrote:
> This is more consistent with the other pages and, more importantly,
> fixes the atrocious "I[S_IWGRP] I[|] I[S_IWOTH]" highlighting in the
> first hunk
>
> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Patch applied.
Thanks,
Alex
> ---
> man2/umask.2 | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/man2/umask.2 b/man2/umask.2
> index 8a11c50e9..ef1a6decf 100644
> --- a/man2/umask.2
> +++ b/man2/umask.2
> @@ -85,7 +85,7 @@ are described in
> .BR inode (7).
> .PP
> The typical default value for the process umask is
> -.I S_IWGRP\ |\ S_IWOTH
> +.BR S_IWGRP " | " S_IWOTH
> (octal 022).
> In the usual case where the
> .I mode
> @@ -95,7 +95,7 @@ is specified as:
> .PP
> .in +4n
> .EX
> -S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH
> +.BR S_IRUSR " | " S_IWUSR " | " S_IRGRP " | " S_IWGRP " | " S_IROTH " | " S_IWOTH
> .EE
> .in
> .PP
> @@ -104,11 +104,11 @@ resulting file will be:
> .PP
> .in +4n
> .EX
> -S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH
> +.BR S_IRUSR " | " S_IWUSR " | " S_IRGRP " | " S_IROTH
> .EE
> .in
> .PP
> -(because 0666 & \(ti022 = 0644; i.e., rw\-r\-\-r\-\-).
> +(because 0666 & \(ti022 = 0644; i.e. rw\-r\-\-r\-\-).
> .SH RETURN VALUE
> This system call always succeeds and the previous value of the mask
> is returned.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-25 20:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-25 1:03 [PATCH] umask.2: S_I* are B наб
2022-04-25 20:56 ` Alejandro Colomar
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.