On 7/4/22 00:23, наб wrote:
This list consistently uses "this option", force that for FTS_NOCHDIR too Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@xxxxxxxxxxxxxxxxxx>
Patch applied, наб. Thanks, Alex
--- man3/fts.3 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/man3/fts.3 b/man3/fts.3 index 44465b815..627bb5afc 100644 --- a/man3/fts.3 +++ b/man3/fts.3 @@ -419,8 +419,7 @@ As a performance optimization, the fts functions change directories as they walk the file hierarchy. This has the side-effect that an application cannot rely on being in any particular directory during the traversal. -The -.B FTS_NOCHDIR +This option turns off this optimization, and the fts functions will not change the current directory. Note that applications should not themselves change their current directory
-- Alejandro Colomar <http://www.alejandro-colomar.es/>
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature