[PATCH 2/2] Split bash compatible extensions into separate options.

Kang-Che Sung explorer09 at gmail.com
Tue Jan 10 19:17:07 UTC 2017


(Note: this is a large patch. Patch included as mail attachment)

All of the bash compatibility options will now depend on
CONFIG_*_BASH_COMPAT, and CONFIG_*_BASH_COMPAT become an option that
alone doesn't add any code.

Splitting these options allows more flexibility in configuration, and
makes it self-documenting about what bash-compatible features we have.

Signed-off-by: Kang-Che Sung <explorer09 at gmail.com>
---
 coreutils/test.c |   8 ++-
 shell/ash.c      | 216 +++++++++++++++++++++++++++++++++++++------------------
 shell/hush.c     | 133 ++++++++++++++++++++++------------
 3 files changed, 239 insertions(+), 118 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2-busybox-bash-compat-split.patch
Type: text/x-patch
Size: 34271 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20170111/98df458b/attachment-0001.bin>


More information about the busybox mailing list