From 0879126bb44aa9761a920946f35f5aa697717445 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 10 Nov 2022 12:53:45 -0500 Subject: Try to report I/O errors earlier and only once --- src/expr.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/expr.h') 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; }; -- cgit v1.2.3