recursive_action: add ACTION_SORT flag
Add a flag to sort directory entries before recursing into them. Since this part of lib/ is used inside barebox as well as in scripts/bareboxenv.c, we cannot easily use stringlists from lib/, which would have made the code a bit nicer. Signed-off-by: Florian Bäuerle <florian.baeuerle@allegion.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> |
---|
|
include/libbb.h |
---|
lib/list_sort.c |
---|
lib/recursive_action.c |
---|
scripts/bareboxenv.c |
---|
scripts/include/linux/list_sort.h 0 → 100644 |
---|