diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2021-09-02 14:57:18 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2021-09-02 14:59:32 -0400 |
commit | 6b083345307aa1fdbc48eaf247c80b4c4982b2ee (patch) | |
tree | 4fb5102e11f12dede475619bad3872e3595a8161 /ctx.c | |
parent | 302e9987fe732e7e4154386058fff2720fc68fc3 (diff) | |
download | bfs-6b083345307aa1fdbc48eaf247c80b4c4982b2ee.tar.xz |
eval: Use 512-byte blocks for -ls when POSIXLY_CORRECT is set
This matches the behaviour of GNU find, and allows bfs to match the
output of BSD find as well. Fixes #77.
Diffstat (limited to 'ctx.c')
-rw-r--r-- | ctx.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,6 @@ /**************************************************************************** * bfs * - * Copyright (C) 2015-2020 Tavian Barnes <tavianator@tavianator.com> * + * Copyright (C) 2015-2021 Tavian Barnes <tavianator@tavianator.com> * * * * Permission to use, copy, modify, and/or distribute this software for any * * purpose with or without fee is hereby granted. * @@ -72,6 +72,7 @@ struct bfs_ctx *bfs_ctx_new(void) { ctx->optlevel = 3; ctx->debug = 0; ctx->ignore_races = false; + ctx->posixly_correct = false; ctx->status = false; ctx->unique = false; ctx->warn = false; |