diff options
| author | Ron Yorston <rmy@pobox.com> | 2023-03-24 15:02:22 +0000 |
|---|---|---|
| committer | Ron Yorston <rmy@pobox.com> | 2023-03-24 15:17:37 +0000 |
| commit | 6d39c658a05b8dbd7ead0b9cfd38476c15041fc0 (patch) | |
| tree | 8d780cb9cf1f13381bd9f39b82192589c1136c12 /scripts/basic/split-include.c | |
| parent | f491e57d1ce04ec8124b9605268e5ecd3b1fb489 (diff) | |
| download | busybox-w32-6d39c658a05b8dbd7ead0b9cfd38476c15041fc0.tar.gz busybox-w32-6d39c658a05b8dbd7ead0b9cfd38476c15041fc0.tar.bz2 busybox-w32-6d39c658a05b8dbd7ead0b9cfd38476c15041fc0.zip | |
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>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions
