14 Commits (ac7ec87484894c040681e7d59c6b12a966a23f7b)

Author SHA1 Message Date
Avril 9d71fa7aee
arg parsing: rework error handling to return optional extra information with error code.
3 years ago
Avril c64f3f7499
Started rudimentary argument struct + parsing function prototypes
3 years ago
Avril 5d1daa98e4
Removed redundant unused old code block comment.
3 years ago
Avril 0ed7cb86cf
Updated all uses of features to the new `#if FEATURE_HAS_FLAG()` method.
3 years ago
Avril 9a50132e90
Updated README.md to show how `FEATURE` flags are defined and used now.
3 years ago
Avril d47761c709
Added feature flags instead of raw -D compiler flags.
3 years ago
Avril 9c8831e808
Made `REPLACE_STDERR` only replace execve()"d process" stderr; the parent now has its own, private stderr that is closed on exec so can properly report errors.
3 years ago
Avril 872fefd275
Added CLOEXEC stderr clone for parent use of stderr.
3 years ago
Avril 587fe2832d
Added debug build splash screen and process info. (Splash can be disabled with `-DDEBUG_IGNORE_SPLASH`)
3 years ago
Avril ee7c1553f8
Fixed `REPLACE_STDERR` compiler warnings.
3 years ago
Avril e1aa693e75
Fixed `NO_ENV` passing bad `envp` to `execve()`. Fixed `NO_SEARCH_PATH` compiler warnings.
3 years ago
Avril 6eb20eeb46
Added PATH lookup for program argument in sink.
3 years ago
Avril dca529daf7
Added `install` and `uninstall` targets. Added documentation to Makefile
3 years ago
Avril 2b81bf74ba
Added sink program and Makefile
3 years ago