From 45272a636a04d498d81c38f1c479c4f3ff73e89e Mon Sep 17 00:00:00 2001 From: jilles Date: Sun, 25 Mar 2012 20:07:50 +0000 Subject: [PATCH] MFC r233130: fts(3): Document cases where FTS_NOCHDIR is set implicitly. PR: docs/166091 Submitted by: Matthew Story git-svn-id: svn://svn.freebsd.org/base/stable/8@233476 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- lib/libc/gen/fts.3 | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/lib/libc/gen/fts.3 b/lib/libc/gen/fts.3 index d2473bea1..9dec6fb95 100644 --- a/lib/libc/gen/fts.3 +++ b/lib/libc/gen/fts.3 @@ -28,7 +28,7 @@ .\" @(#)fts.3 8.5 (Berkeley) 4/16/94 .\" $FreeBSD$ .\" -.Dd November 25, 2009 +.Dd March 18, 2012 .Dt FTS 3 .Os .Sh NAME @@ -798,3 +798,13 @@ functions were introduced in principally to provide for alternative interfaces to the .Nm functionality using different data structures. +.Sh BUGS +The +.Fn fts_open +function will automatically set the +.Dv FTS_NOCHDIR +option if the +.Dv FTS_LOGICAL +option is provided, or if it cannot +.Xr open 2 +the current directory. -- 2.45.2