diff options
author | Ron Yorston <rmy@pobox.com> | 2018-12-08 15:45:44 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2018-12-08 16:05:12 +0000 |
commit | 195902a645b794092959ac3818f367104c7ffeb8 (patch) | |
tree | 56a6283283165fed9fffe84429918b75ecc772d6 /include | |
parent | 88b782fb0e7ad26c8363eda5c850e5eba6acb445 (diff) | |
download | busybox-w32-195902a645b794092959ac3818f367104c7ffeb8.tar.gz busybox-w32-195902a645b794092959ac3818f367104c7ffeb8.tar.bz2 busybox-w32-195902a645b794092959ac3818f367104c7ffeb8.zip |
lineedit: improvements to tab completion
Since getpwent isn't implemented for WIN32 there's no point in
enabling FEATURE_USERNAME_COMPLETION.
Use case-insensitive comparisons when matching filenames.
The code to exclude non-executables when tab completing executables
is WIN32-specific and shouldn't omit directories.
Diffstat (limited to 'include')
-rw-r--r-- | include/mingw.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h index 543172075..a828e6613 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -447,6 +447,8 @@ int kill_SIGTERM_by_handle(HANDLE process, int exit_code); | |||
447 | 447 | ||
448 | #define find_mount_point(n, s) find_mount_point(n) | 448 | #define find_mount_point(n, s) find_mount_point(n) |
449 | 449 | ||
450 | char *is_prefixed_with_case(const char *string, const char *key) FAST_FUNC; | ||
451 | |||
450 | /* | 452 | /* |
451 | * helpers | 453 | * helpers |
452 | */ | 454 | */ |