public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx.manpages@gmail.com>
To: Brian Inglis <Brian.Inglis@Shaw.ca>,
	Linux Man-Pages <linux-man@vger.kernel.org>
Subject: Re: [PATCH v2 04/11] man2/open.2: punctuate octal perms with digit separators
Date: Sun, 12 Feb 2023 20:19:18 +0100	[thread overview]
Message-ID: <8743714b-80f0-e8ef-286d-62924db3d412@gmail.com> (raw)
In-Reply-To: <55dc9a52adaa99408437708f8141d44aade52464.1675830945.git.Brian.Inglis@Shaw.ca>


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

Hi Brian,

On 2/8/23 21:27, Brian Inglis wrote:
> ---
>  man2/open.2 | 32 ++++++++++++++++----------------
>  1 file changed, 16 insertions(+), 16 deletions(-)
> 
> 
> v2-0004-man2-open.2-punctuate-octal-perms-with-digit-sepa.patch
> 
> diff --git a/man2/open.2 b/man2/open.2
> index fc796e25537d..82e3e2102e7c 100644
> --- a/man2/open.2
> +++ b/man2/open.2
> @@ -308,40 +308,40 @@ The following symbolic constants are provided for
>  .RS
>  .TP 9
>  .B S_IRWXU
> -00700 user (file owner) has read, write, and execute permission
> +00\[aq]700 user (file owner) has read, write, and execute permission
>  .TP
>  .B S_IRUSR
> -00400 user has read permission
> +00\[aq]400 user has read permission
>  .TP
>  .B S_IWUSR
> -00200 user has write permission
> +00\[aq]200 user has write permission
>  .TP
>  .B S_IXUSR
> -00100 user has execute permission
> +00\[aq]100 user has execute permission
>  .TP
>  .B S_IRWXG
> -00070 group has read, write, and execute permission
> +00\[aq]070 group has read, write, and execute permission
>  .TP
>  .B S_IRGRP
> -00040 group has read permission
> +00\[aq]040 group has read permission
>  .TP
>  .B S_IWGRP
> -00020 group has write permission
> +00\[aq]020 group has write permission
>  .TP
>  .B S_IXGRP
> -00010 group has execute permission
> +00\[aq]010 group has execute permission
>  .TP
>  .B S_IRWXO
> -00007 others have read, write, and execute permission
> +00\[aq]007 others have read, write, and execute permission
>  .TP
>  .B S_IROTH
> -00004 others have read permission
> +00\[aq]004 others have read permission
>  .TP
>  .B S_IWOTH
> -00002 others have write permission
> +00\[aq]002 others have write permission
>  .TP
>  .B S_IXOTH
> -00001 others have execute permission
> +00\[aq]001 others have execute permission
>  .RE
>  .IP
>  According to POSIX, the effect when other bits are set in
> @@ -352,14 +352,14 @@ On Linux, the following bits are also honored in
>  .RS
>  .TP 9
>  .B S_ISUID
> -0004000 set-user-ID bit
> +0\[aq]004\[aq]000 set-user-ID bit
>  .TP
>  .B S_ISGID
> -0002000 set-group-ID bit (see
> +0\[aq]002\[aq]000 set-group-ID bit (see
>  .BR inode (7)).
>  .TP
>  .B S_ISVTX
> -0001000 sticky bit (see
> +0\[aq]001\[aq]000 sticky bit (see
>  .BR inode (7)).
>  .RE
>  .TP
> @@ -1319,7 +1319,7 @@ flags are not specified in POSIX.1-2001,
>  but are specified in POSIX.1-2008.
>  Since glibc 2.12, one can obtain their definitions by defining either
>  .B _POSIX_C_SOURCE
> -with a value greater than or equal to 200809L or
> +with a value greater than or equal to 2008\[aq]09L or

This is not an octal :)

Cheers,

Alex

>  .B _XOPEN_SOURCE
>  with a value greater than or equal to 700.
>  In glibc 2.11 and earlier, one obtains the definitions by defining

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

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

  reply	other threads:[~2023-02-12 19:19 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-08 20:27 [PATCH v2 00/11] punctuate long numeric strings with digit separators Brian Inglis
2023-02-08 20:27 ` [PATCH v2 01/11] man2/shmget.2: fix limit units prefix symbol from SI to IEC Brian Inglis
2023-02-08 20:57   ` Alejandro Colomar
2023-02-08 20:27 ` [PATCH v2 02/11] man2/spu_run.2: fix example comment status code or-ed value Brian Inglis
2023-02-08 20:58   ` Alejandro Colomar
2023-02-08 20:27 ` [PATCH v2 03/11] man2/: use consistent closed interval notation for value ranges Brian Inglis
2023-02-12 19:21   ` Alejandro Colomar
2023-02-08 20:27 ` [PATCH v2 04/11] man2/open.2: punctuate octal perms with digit separators Brian Inglis
2023-02-12 19:19   ` Alejandro Colomar [this message]
2023-02-08 20:27 ` [PATCH v2 05/11] man2/reboot.2: show BCD dates in hex not decimal Brian Inglis
2023-02-08 21:06   ` Alejandro Colomar
2023-02-08 20:27 ` [PATCH v2 06/11] man2/reboot.2: punctuate hex in docs with digit separators Brian Inglis
2023-02-08 20:27 ` [PATCH v2 07/11] man2/statfs.2: " Brian Inglis
2023-02-08 20:27 ` [PATCH v2 08/11] man2/adjtimex.2: use ISO/IEC multiple symbols and digit separators in ranges and example docs Brian Inglis
2023-02-08 20:27 ` [PATCH v2 09/11] man2/getrandom.2: change limit to use IEC multiple symbol Brian Inglis
2023-02-08 21:09   ` Alejandro Colomar
2023-02-08 20:27 ` [PATCH v2 10/11] man2/futex.2: change limit to use ISO " Brian Inglis
2023-02-08 21:12   ` Alejandro Colomar
2023-02-08 22:33     ` Brian Inglis
2023-02-09 11:36       ` Jakub Wilk
2023-02-09 12:21         ` Alejandro Colomar
2023-02-12 20:47           ` Brian Inglis
2023-02-08 20:27 ` [PATCH v2 11/11] man2/: punctuate long numeric strings with digit separators Brian Inglis
2023-02-08 20:55 ` [PATCH v2 00/11] " Alejandro Colomar
2023-02-08 20:56   ` Alejandro Colomar
2023-02-08 21:17     ` Brian Inglis
2023-02-08 21:44       ` Alejandro Colomar
2023-02-12 19:22 ` Alejandro Colomar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8743714b-80f0-e8ef-286d-62924db3d412@gmail.com \
    --to=alx.manpages@gmail.com \
    --cc=Brian.Inglis@Shaw.ca \
    --cc=linux-man@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox