summaryrefslogtreecommitdiffstats
path: root/main.c
Commit message (Collapse)AuthorAgeFilesLines
* 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