diff options
author | Profpatsch <mail@profpatsch.de> | 2020-06-29 00:39:57 +0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2020-06-29 00:39:57 +0200 |
commit | 54e19e0aeac16abd02eac2623e1eeefbb05ca2a3 (patch) | |
tree | 5610fd3bef7b8d56ce07e1eca4c04fc9eea6770b /pkgs/profpatsch/backlight | |
parent | 3f79ddf06375c3b34569c8b9ce91a607bbd0f052 (diff) |
pkgs/profpatsch/execline: change el_semicolon to only read one arg
The C implementation of el_semicolon in execline only reads one argument at a time and returns an index into the rest of argv. This makes sense for the usual application of programs using it, which is just reading a few arguments and a block or two, and then executing into `prog`. `prog` could be anything really, including additional blocks. The new `el_semicolon_full_argv` function exports the previous behaviour of parsing the whole thing. As a nice side-effect, we return the rest of argv in-place.
Diffstat (limited to 'pkgs/profpatsch/backlight')
0 files changed, 0 insertions, 0 deletions