summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/eval.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/eval.c b/src/eval.c
index 6aa5104..eb4a0ca 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -1558,9 +1558,7 @@ static const char *dump_bftw_strategy(enum bftw_strategy strategy) {
/** Check if we need to enable BFTW_BUFFER. */
static bool eval_must_buffer(const struct bfs_expr *expr) {
-#if __COSMOPOLITAN__
- return true;
-#elif __FreeBSD__
+#if __FreeBSD__
// FreeBSD doesn't properly handle adding/removing directory entries
// during readdir() on NFS mounts. Work around it by passing BFTW_BUFFER
// whenever we could be mutating the directory ourselves through -delete