summaryrefslogtreecommitdiffstats
path: root/main.c
Commit message (Collapse)AuthorAgeFilesLines
* main: Add pointer to trie.[ch]Tavian Barnes2019-03-171-0/+1
|
* Add some documentation commentsTavian Barnes2019-02-091-0/+31
|
* Turn on -Wstrict-prototypesTavian Barnes2019-02-061-1/+1
|
* main: Fix closed standard stream handlingTavian Barnes2019-02-011-15/+25
| | | | | bfs >&- should complain about a missing file descriptor, rather than silently succeeding.
* Report errors that occur when closing filesTavian Barnes2017-10-211-1/+3
| | | | Otherwise we miss write errors that occur when flushing the cache.
* opt: Separate optimization from parsingTavian Barnes2017-09-161-1/+1
|
* Re-license under the BSD Zero Clause LicenseTavian Barnes2017-07-271-10/+15
|
* main: Call setlocale() at startup to use the system localeTavian Barnes2017-07-201-0/+4
|
* Implement -exit [STATUS]Tavian Barnes2017-07-201-3/+1
| | | | From NetBSD again.
* main: Fix error checking of redirect()Tavian Barnes2017-05-061-1/+3
|
* Update some copyright dates.Tavian Barnes2016-11-241-1/+1
|
* Redirect stdin from /dev/null for -ok and -okdir.Tavian Barnes2016-11-131-32/+4
|
* main: IN is read, OUT is write.Tavian Barnes2016-10-181-3/+3
| | | | Oops :/
* main: Make sure that STD{IN,OUT,ERR}_FILENO are open.Tavian Barnes2016-10-161-0/+59
| | | | | Otherwise invocations like bfs >&- may do weird things like try to write to directory descriptors.
* More s/cl/cmdline/.Tavian Barnes2016-02-131-4/+4
|
* Don't use typedefs to avoid struct/enum tags.Tavian Barnes2016-02-041-1/+1
|
* Split out parsing code.Tavian Barnes2015-11-291-0/+27