Commit Graph

  • 02c055f2c8
    Added `sprintf()`-like functions for `view_t` `sv_s[vn]?printf\(\)` args Avril 2022-03-15 13:05:12 +0000
  • 2d5840da8d
    TODO: make `SHARED`"d default "yes" on `debug` builds only and have it have to be explicitly set to "no" to add `CFLAGS+=--static`. For release builds keep the default "no". Avril 2022-03-14 22:42:17 +0000
  • 05a7b0f460 Started adding func-ptr based argument definition & parsing structure and functions based around it. Avril 2022-03-14 22:38:50 +0000
  • 2d040d5584
    Included view in args.c: It will be useful for parsing envp files for `--env <file>` option, and more string related things. Avril 2022-03-14 17:13:28 +0000
  • f12c1fffdd
    view: added `sv_copy_to()`: copy a `view_t` to a nul-terminated buffer. (`snprintf()` for `view_t`) Avril 2022-03-14 17:11:25 +0000
  • ac7ec87484
    Start: string_view for C Avril 2022-03-14 17:00:10 +0000
  • 4589eaa292
    TODO: add short options for controlling envp passthrough: `-p`, `-P`. Avril 2022-03-14 14:56:53 +0000
  • 090474ff17
    TODO: Added format for specific `envp` replace: `--env=<key>=<value>` and `--env <file>`. Avril 2022-03-14 14:53:45 +0000
  • fc81dd4b74
    Added `pargs_t.env_pass`: Pass all, none, or specific (allocated) environment vars. Avril 2022-03-14 14:46:39 +0000
  • 9d71fa7aee
    arg parsing: rework error handling to return optional extra information with error code. Avril 2022-03-14 13:25:43 +0000
  • 08ba7f40c7
    Makefile: Added `-pipe` to COMMON_FLAGS master Avril 2022-03-13 22:11:07 +0000
  • f2d6ee51fb
    Makefile: Added `-pipe` to COMMON_FLAGS Avril 2022-03-13 22:10:08 +0000
  • c64f3f7499
    Started rudimentary argument struct + parsing function prototypes Avril 2022-03-13 21:58:12 +0000
  • e072efe9b0
    Removed redundant unused old code block comment. Avril 2022-03-11 17:24:38 +0000
  • 5d1daa98e4
    Removed redundant unused old code block comment. Avril 2022-03-11 17:23:47 +0000
  • c03f2e39d3
    Moved argument TODO to Markdown and added some extra TODO info. Avril 2022-03-11 17:22:37 +0000
  • b38c91a8ee
    TODO: Added short `-<char...>` arguments convention Avril 2022-03-11 15:20:19 +0000
  • 0ed7cb86cf
    Updated all uses of features to the new `#if FEATURE_HAS_FLAG()` method. Avril 2022-03-11 15:14:07 +0000
  • 9a50132e90
    Updated README.md to show how `FEATURE` flags are defined and used now. Avril 2022-03-11 15:07:59 +0000
  • eba77a5d85
    Added `FEATURES` make env-var for build features. Avril 2022-03-11 14:49:45 +0000
  • d47761c709
    Added feature flags instead of raw -D compiler flags. Avril 2022-03-11 14:47:32 +0000
  • 5afab1f955
    Merge branch 'master' of github.com:notflan/sink Avril 2022-03-10 22:53:09 +0000
  • 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. Avril 2022-03-10 22:51:46 +0000
  • 872fefd275
    Added CLOEXEC stderr clone for parent use of stderr. Avril 2022-03-10 22:03:34 +0000
  • e559e758e3
    Create LICENSE Avril 2022-03-10 15:29:08 +0000
  • 587fe2832d
    Added debug build splash screen and process info. (Splash can be disabled with `-DDEBUG_IGNORE_SPLASH`) Avril 2022-03-10 15:25:13 +0000
  • abe427d931
    Fix README.md formatting Avril 2022-03-10 14:57:06 +0000
  • ee7c1553f8
    Fixed `REPLACE_STDERR` compiler warnings. Avril 2022-03-10 14:53:26 +0000
  • e1aa693e75
    Fixed `NO_ENV` passing bad `envp` to `execve()`. Fixed `NO_SEARCH_PATH` compiler warnings. Avril 2022-03-10 14:46:15 +0000
  • 6eb20eeb46
    Added PATH lookup for program argument in sink. Avril 2022-03-10 14:36:36 +0000
  • e20df37d9b
    Added README Avril 2022-03-10 13:35:39 +0000
  • dca529daf7
    Added `install` and `uninstall` targets. Added documentation to Makefile Avril 2022-03-10 13:21:03 +0000
  • 2b81bf74ba
    Added sink program and Makefile Avril 2022-03-10 12:39:47 +0000