From 863b70d198f62f28581162473a521208dd67879e Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 6 Mar 2021 13:40:24 -0500 Subject: Implement -flags, from FreeBSD find This is the last BSD-specific primary I'm aware of. Fixes #14. --- expr.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'expr.h') diff --git a/expr.h b/expr.h index 2462861..562d84e 100644 --- a/expr.h +++ b/expr.h @@ -135,6 +135,11 @@ struct expr { /** Mode to use for directories (different due to X). */ mode_t dir_mode; + /** Flags that should be set. */ + unsigned long long set_flags; + /** Flags that should be cleared. */ + unsigned long long clear_flags; + /** The optional stat field to look at. */ enum bfs_stat_field stat_field; /** The optional reference time. */ -- cgit v1.2.3