summaryrefslogtreecommitdiffstats
path: root/src/expr.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-11-10 12:53:45 -0500
committerTavian Barnes <tavianator@tavianator.com>2022-11-10 12:53:45 -0500
commit0879126bb44aa9761a920946f35f5aa697717445 (patch)
treecac70ef04178a87986de9388a9acd46ab92c21c2 /src/expr.h
parentf98a1c4a1cf61ff7d6483388ca1fac365fb0b31b (diff)
downloadbfs-0879126bb44aa9761a920946f35f5aa697717445.tar.xz
Try to report I/O errors earlier and only once
Diffstat (limited to 'src/expr.h')
-rw-r--r--src/expr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/expr.h b/src/expr.h
index 1f1ece6..22f569e 100644
--- a/src/expr.h
+++ b/src/expr.h
@@ -162,6 +162,8 @@ struct bfs_expr {
struct {
/** The output stream. */
CFILE *cfile;
+ /** Optional file path. */
+ const char *path;
/** Optional -printf format. */
struct bfs_printf *printf;
};