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>
1 parent baf8fc0 commit 99c1263dce3902a8961bcdcac9398bce51fccd1b
@Baeuerle, Florian Baeuerle, Florian authored on 19 Dec 2018
Sascha Hauer committed on 8 Jan 2019
Showing 5 changed files
View
include/libbb.h
View
lib/list_sort.c
View
lib/recursive_action.c
View
scripts/bareboxenv.c
View
scripts/include/linux/list_sort.h 0 → 100644