public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx.manpages@gmail.com>
To: наб <nabijaczleweli@nabijaczleweli.xyz>
Cc: linux-man@vger.kernel.org
Subject: Re: [PATCH 2/4] fts.3: list primary modes first, remove triplicate requirement spiel
Date: Mon, 4 Jul 2022 23:57:45 +0200	[thread overview]
Message-ID: <9853f17d-a319-7dde-e1f7-2f7c128209b5@gmail.com> (raw)
In-Reply-To: <8a07a62c3dbf9690e6dcb02ecdd2fded7aa17a5b.1656887003.git.nabijaczleweli@nabijaczleweli.xyz>


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

Hi,

Please break this commit into smaller chunks.
I'd like commits that move code to _only_ move code,
and do anything else (adjust style/formatting, remove duplicates, ...) 
in a subsequent patch.
See also: 
<https://www.kernel.org/doc/html/latest/process/submitting-patches.html#style-check-your-changes>

It's hard for me to read this patch as is.  Sorry :/

Cheers,

Alex

On 7/4/22 00:23, наб wrote:
> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
> ---
>   man3/fts.3 | 56 +++++++++++++++++++-----------------------------------
>   1 file changed, 20 insertions(+), 36 deletions(-)
> 
> diff --git a/man3/fts.3 b/man3/fts.3
> index bf3e075f2..44465b815 100644
> --- a/man3/fts.3
> +++ b/man3/fts.3
> @@ -376,12 +376,6 @@ The options are selected by ORing
>   the following values:
>   .\" .Bl -tag -width "FTS_PHYSICAL"
>   .TP
> -.B FTS_COMFOLLOW
> -This option causes any symbolic link specified as a root path to be
> -followed immediately whether or not
> -.B FTS_LOGICAL
> -is also specified.
> -.TP
>   .B FTS_LOGICAL
>   This option causes the
>   fts routines to return
> @@ -398,14 +392,27 @@ field is obtained via
>   .BR stat (2)
>   with a fallback to
>   .BR lstat (2).
> -Either
> -.B FTS_LOGICAL
> -or
> +.TP
>   .B FTS_PHYSICAL
> -.I must
> -be provided to the
> -.BR fts_open ()
> -function.
> +This option causes the
> +fts routines to return
> +.I FTSENT
> +structures for symbolic links themselves instead
> +of the target files they point to.
> +If this option is set,
> +.I FTSENT
> +structures for all symbolic links in the
> +hierarchy are returned to the application:
> +the
> +.I fts_statp
> +is obtained via
> +.BR lstat (2).
> +.TP
> +.B FTS_COMFOLLOW
> +This option causes any symbolic link specified as a root path to be
> +followed immediately, as if via
> +.BR FTS_LOGICAL ,
> +regardless of the primary mode.
>   .TP
>   .B FTS_NOCHDIR
>   As a performance optimization, the
> @@ -439,29 +446,6 @@ and leave the contents of the
>   .I statp
>   field undefined.
>   .TP
> -.B FTS_PHYSICAL
> -This option causes the
> -fts routines to return
> -.I FTSENT
> -structures for symbolic links themselves instead
> -of the target files they point to.
> -If this option is set,
> -.I FTSENT
> -structures for all symbolic links in the
> -hierarchy are returned to the application:
> -the
> -.I fts_statp
> -is obtained via
> -.BR lstat (2).
> -Either
> -.B FTS_LOGICAL
> -or
> -.B FTS_PHYSICAL
> -.I must
> -be provided to the
> -.BR fts_open ()
> -function.
> -.TP
>   .B FTS_SEEDOT
>   By default, unless they are specified as path arguments to
>   .BR fts_open (),

-- 
Alejandro Colomar
<http://www.alejandro-colomar.es/>

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

  reply	other threads:[~2022-07-04 21:57 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-03 22:23 [PATCH 1/4] fts.3: note that lstat(2) may also provide fts_statp наб
2022-07-03 22:23 ` [PATCH 2/4] fts.3: list primary modes first, remove triplicate requirement spiel наб
2022-07-04 21:57   ` Alejandro Colomar [this message]
2022-07-03 22:23 ` [PATCH 3/4] fts.3: wfix наб
2022-07-04 21:59   ` Alejandro Colomar
2022-07-03 22:23 ` [PATCH 4/4] fts.3: tfix наб
2022-07-04 22:02   ` Alejandro Colomar
2022-07-03 23:04 ` [PATCH 1/4] fts.3: note that lstat(2) may also provide fts_statp Alejandro Colomar
2022-07-03 23:12   ` наб
2022-07-03 23:32     ` Alejandro Colomar
2022-07-04 21:53 ` Alejandro Colomar
2022-07-05 16:21 ` [PATCH v2 1/5] " наб
2022-07-05 17:23   ` Alejandro Colomar
2022-07-05 16:21 ` [PATCH v2 2/5] fts.3: remove triplicate requirement spiel наб
2022-07-05 16:21 ` [PATCH v2 3/5] fts.3: clarify FTS_COMFOLLOW behaviour наб
2022-07-05 16:22 ` [PATCH v2 4/5] fts.3: list primary modes first наб
2022-07-05 16:22 ` [PATCH v2 5/5] fts.3: tfix наб

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=9853f17d-a319-7dde-e1f7-2f7c128209b5@gmail.com \
    --to=alx.manpages@gmail.com \
    --cc=linux-man@vger.kernel.org \
    --cc=nabijaczleweli@nabijaczleweli.xyz \
    /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