summaryrefslogtreecommitdiff
path: root/klibc-utils
diff options
context:
space:
mode:
authorRon Yorston2023-03-24 15:16:35 +0000
committerDenys Vlasenko2023-03-29 16:45:13 +0200
commitf2e659415ad59906124fca963040c8884746feed (patch)
tree4aac2f24de50bbc1ad8a6c21b4ef51ce7cba803d /klibc-utils
parenta59e5a7d08cb26ec029d00dd11e693765aca17be (diff)
downloadbusybox-f2e659415ad59906124fca963040c8884746feed.zip
busybox-f2e659415ad59906124fca963040c8884746feed.tar.gz
lineedit: fix matching of directories when searching PATH
Commit 8baa643a3 (lineedit: match local directories when searching PATH) included subdirectories of the current directory in the search when tab-completing commands. Unfortunately a short time later commit 1d180cd74 (lineedit: use strncmp instead of is_prefixed_with (we know the length)) broke this feature by returning an incorrect length for the array of paths. Fix the length and reinstate matching of subdirectories. Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'klibc-utils')
0 files changed, 0 insertions, 0 deletions