summaryrefslogtreecommitdiffstats
path: root/eval.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement -fprint and -fprint0.Tavian Barnes2016-06-081-6/+16
|
* Implement -D opt.Tavian Barnes2016-06-071-0/+3
|
* eval: Clean up open fd counting code.Tavian Barnes2016-06-031-5/+9
|
* Fix hypothetical leak if waitpid() fails.Tavian Barnes2016-06-021-1/+1
|
* Use argc/argv naming consistently.Tavian Barnes2016-05-221-9/+9
|
* Implement -{exec,ok}{,dir}.Tavian Barnes2016-05-221-1/+208
|
* Remove an errant debugging printf().Tavian Barnes2016-04-101-1/+0
|
* Implement -size.Tavian Barnes2016-03-121-1/+24
|
* Implement -used.Tavian Barnes2016-03-051-0/+15
| | | | | | This doesn't agree with find's output, but I think find is buggy here. For example, find -used +0 is returning fewer results than find -used 1, which makes no sense given that 1 is greater than 0.
* Fix potential leaks in -lname.Tavian Barnes2016-02-271-12/+17
|
* Don't repeat reported error messages from bftw().Tavian Barnes2016-02-271-1/+9
| | | | Fixes #7.
* Implement -O.Tavian Barnes2016-02-231-0/+4
|
* Implement -D stat.Tavian Barnes2016-02-221-0/+31
|
* Fix infinite recursion in eval_not().Tavian Barnes2016-02-211-6/+13
| | | | And use a helper function to prevent this kind of bug in the future.
* Fix an uninitialized value warning.Tavian Barnes2016-02-171-2/+5
|
* s/color_table/colors/.Tavian Barnes2016-02-141-1/+1
|
* Refactor color handling.Tavian Barnes2016-02-141-3/+5
| | | | The main benefit is colored warnings/errors during parsing.
* Implement -lname and -ilname.Tavian Barnes2016-02-141-0/+36
|
* Add brief -help and -version support.Tavian Barnes2016-02-141-0/+4
|
* Don't stop early just because deleting failed.Tavian Barnes2016-02-141-1/+1
|
* Implement -iname and -ipath.Tavian Barnes2016-02-131-4/+4
|
* Fix -name handling when the root has trailing slashes.Tavian Barnes2016-02-131-1/+25
|
* Implement -xtype.Tavian Barnes2016-02-131-0/+48
|
* Follow links if appropriate in predicates.Tavian Barnes2016-02-131-2/+2
|
* Check the number of open FDs at the start.Tavian Barnes2016-02-121-22/+42
| | | | | | This fixes the issues with things like $ bfs -empty 3</dev/null
* Consolidate some error reporting logic.Tavian Barnes2016-02-121-7/+12
|
* Use 'cmdline' instead of 'cl'.Tavian Barnes2016-02-121-17/+17
|
* Report failures that happen inside predicates.Tavian Barnes2016-02-121-6/+29
|
* Keep one fd free for the predicates themselves.Tavian Barnes2016-02-111-3/+3
| | | | | | | | | | | | Otherwise -empty may start failing once the dircache grows. It's still possible to cause failures with $ bfs some/big/dir -empty 3</dev/null because one more fd than expected will be allocated, but that's not a common case. It could be worked around by reading /proc/self/fd/ at startup.
* Implement -samefile.Tavian Barnes2016-02-101-0/+12
|
* Implement -links.Tavian Barnes2016-02-041-0/+12
|
* Implement -inum.Tavian Barnes2016-02-041-0/+12
|
* Implement -[ac]?newer.Tavian Barnes2016-02-041-0/+37
|
* Implements -daystart.Tavian Barnes2016-02-041-1/+1
|
* Refactor how -[acm]{min,time} are handled.Tavian Barnes2016-02-041-79/+22
|
* Don't use typedefs to avoid struct/enum tags.Tavian Barnes2016-02-041-36/+36
|
* Add -gid and -uid support.Tavian Barnes2016-02-021-0/+24
|
* Add -[acm]{min,time} support.Tavian Barnes2016-02-021-11/+130
|
* Implement -empty.Tavian Barnes2016-01-301-0/+44
|
* Split out parsing code.Tavian Barnes2015-11-291-0/+263