Re: [PATCH] umask.2: S_I* are B

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

 



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@xxxxxxxxxxxxxxxxxx>

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.



[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