diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2018-12-17 17:10:18 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2018-12-17 17:10:18 -0500 |
commit | e95ec269efdfbd97b5d0ee85dda38e7bae498181 (patch) | |
tree | 0dda13650a3438feece9bfde6e9e75ed2c2fb269 /eval.c | |
parent | f5ba88ebfed936cfdee3a2ab3d6f690d291e9627 (diff) | |
download | bfs-e95ec269efdfbd97b5d0ee85dda38e7bae498181.tar.xz |
bftw: Move bftw_typeflag conversion out of util
Turns out incomplete enum types are a GNU C extension.
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -919,7 +919,7 @@ bool eval_xtype(const struct expr *expr, struct eval_state *state) { const struct bfs_stat *statbuf = eval_xstat(state); if (statbuf) { - return mode_to_typeflag(statbuf->mode) & expr->idata; + return bftw_mode_typeflag(statbuf->mode) & expr->idata; } else if (!follow && is_nonexistence_error(errno)) { // Broken symlink return eval_type(expr, state); |