Module Name: src
Committed By: uwe
Date: Mon Oct 28 10:01:09 UTC 2024
Modified Files:
src/lib/libc/gen: fts.3
Log Message:
fts(3): don't use (incorrect) custom -width with .Bl -tag
Default widths are good enough.
To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/lib/libc/gen/fts.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/gen/fts.3
diff -u src/lib/libc/gen/fts.3:1.36 src/lib/libc/gen/fts.3:1.37
--- src/lib/libc/gen/fts.3:1.36 Mon Oct 28 09:52:09 2024
+++ src/lib/libc/gen/fts.3 Mon Oct 28 10:01:08 2024
@@ -1,4 +1,4 @@
-.\" $NetBSD: fts.3,v 1.36 2024/10/28 09:52:09 uwe Exp $
+.\" $NetBSD: fts.3,v 1.37 2024/10/28 10:01:08 uwe Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -140,7 +140,7 @@ typedef struct _ftsent {
.Ed
.Pp
These fields are defined as follows:
-.Bl -tag -width "fts_namelen"
+.Bl -tag -width Fa
.It Fa fts_info
One of the following flags describing the returned
.Vt FTSENT
@@ -151,7 +151,7 @@ With the exception of directories withou
all of these
entries are terminal, that is, they will not be revisited, nor will any
of their descendants be visited.
-.Bl -tag -width FTS_DEFAULT
+.Bl -tag -width Dv
.It Dv FTS_D
A directory being visited in pre-order.
.It Dv FTS_DC
@@ -377,7 +377,7 @@ must be specified.
The options are selected by
.Em or Ns 'ing
the following values:
-.Bl -tag -width "FTS_COMFOLLOW "
+.Bl -tag -width Dv
.It Dv FTS_COMFOLLOW
This option causes any symbolic link specified as a root path to be
followed immediately whether or not
@@ -637,7 +637,7 @@ on the same file hierarchy stream.
.Pp
.Em Option
may be set to the following value:
-.Bl -tag -width "FTS_COMFOLLOW "
+.Bl -tag -width Dv
.It Dv FTS_NAMEONLY
Only the names of the files are needed.
The contents of all the fields in the returned linked list of structures
@@ -661,7 +661,7 @@ function
returns 0 on success, and \-1 if an error occurs.
.Em Option
must be set to one of the following values:
-.Bl -tag -width "FTS_COMFOLLOW "
+.Bl -tag -width Dv
.It Dv FTS_AGAIN
Re-visit the file; any file type may be re-visited.
The next call to