summaryrefslogtreecommitdiffstats
path: root/src/parse.c
Commit message (Collapse)AuthorAgeFilesLines
* opt: Move costs out of the parserTavian Barnes2023-01-241-51/+3
|
* opt: Move always_{true,false} out of the parserTavian Barnes2023-01-241-50/+6
|
* opt: Move purity out of the parserTavian Barnes2023-01-241-25/+2
|
* bfstd: New wrappers for dirname()/basename()Tavian Barnes2023-01-191-2/+4
|
* parse: Mark another variable with BFS_UNINIT()Tavian Barnes2022-12-091-1/+1
|
* config: New BFS_UNINIT() macro for intentionally uninitialized variablesTavian Barnes2022-12-091-3/+3
|
* expr: Rename bfs_expr_has_children() to _is_parent()Tavian Barnes2022-12-051-6/+6
|
* parse: Fix crash on -xdev -mountTavian Barnes2022-11-301-1/+1
|
* parse: Pass the right argument when warning about -O9Tavian Barnes2022-11-301-1/+1
|
* expr: Remove the singleton bfs_{true,false} expressionsTavian Barnes2022-11-301-138/+168
|
* expr: Remove the synthetic flagTavian Barnes2022-11-291-9/+0
| | | | | Only diagnostics cares about this, and we can just check if the pointers are equal.
* Dump expression trees in a multi-line formatTavian Barnes2022-11-291-50/+71
|
* expr: Don't use reftime for -lsTavian Barnes2022-11-171-8/+2
| | | | | reftime is part of a different union than the print actions are supposed to use.
* Use BFS_COMMAND over "bfs" in more placesTavian Barnes2022-11-131-5/+8
|
* Try to report I/O errors earlier and only onceTavian Barnes2022-11-101-0/+2
|
* parse: Squelch an uninitialized variable warningTavian Barnes2022-11-091-1/+1
|
* pwcache: Fill the user/group caches lazilyTavian Barnes2022-11-091-42/+26
| | | | | | | Iterating all the users/groups can be expensive, especially with NSS. Android has so many that it doesn't even return them all from get{pw,gr}ent() for performance reasons, leading to incorrect behaviour of -user/-group/etc.
* xtime: Move parse_gettime() to xgettime()Tavian Barnes2022-11-071-24/+2
|
* xtime: s/parse_timestamp/xgetdate/Tavian Barnes2022-11-071-1/+1
|
* bfstd: Rename from util and reorganize itTavian Barnes2022-11-061-1/+1
|
* config: Split out some of util.h into a new headerTavian Barnes2022-11-061-2/+2
|
* parse: Don't free uninitialized data on error pathsTavian Barnes2022-10-191-0/+13
|
* parse: They're called "primary expressions," not "literals"Tavian Barnes2022-07-051-6/+6
|
* parse: Warn on paths found within -excludeTavian Barnes2022-05-131-0/+5
|
* Source / Include Folder (#88)トトも2022-04-161-0/+3959
Moved Source Files Into `src` Folder