summaryrefslogtreecommitdiffstats
path: root/src/bftw.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-05-27 13:37:49 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-05-27 14:04:39 -0400
commitf095481862ccd175d297da67d0e313d135bd75c3 (patch)
treea98a6c1bce4e0eed3c844794b882707b5bc7396d /src/bftw.h
parent92a4f07352c6afd7b02785f94249daa2ad693bdd (diff)
downloadbfs-f095481862ccd175d297da67d0e313d135bd75c3.tar.xz
eval: Print more information on filesystem loops
Diffstat (limited to 'src/bftw.h')
-rw-r--r--src/bftw.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bftw.h b/src/bftw.h
index 8656ca7..a2a201c 100644
--- a/src/bftw.h
+++ b/src/bftw.h
@@ -56,6 +56,8 @@ struct BFTW {
enum bfs_type type;
/** The errno that occurred, if type == BFS_ERROR. */
int error;
+ /** For filesystem loops, the length of the loop prefix. */
+ size_t loopoff;
/** A parent file descriptor for the *at() family of calls. */
int at_fd;