From cdbd5e6fcf1f447b515e717f7d7194471ef714a7 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 23 Nov 2023 13:35:57 -0500 Subject: ctx: Switch paths from darray to RESERVE() --- src/ctx.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/ctx.h') diff --git a/src/ctx.h b/src/ctx.h index 1c7df63..75891da 100644 --- a/src/ctx.h +++ b/src/ctx.h @@ -27,6 +27,9 @@ struct bfs_ctx { /** The root paths. */ const char **paths; + /** The number of root paths. */ + size_t npaths; + /** The main command line expression. */ struct bfs_expr *expr; /** An expression for files to filter out. */ -- cgit v1.2.3