diff options
author | Ron Yorston <rmy@pobox.com> | 2023-04-19 12:51:19 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2023-04-19 12:51:19 +0100 |
commit | 7b81a44c87cf71dfb4f647ba107624e208ffbefe (patch) | |
tree | 3b1c803d823beb677827c0455834ec59d95f539b /libbb/print_flags.c | |
parent | 2eeb7a1e5c5242784a0c24a88042f98b9e69963a (diff) | |
download | busybox-w32-7b81a44c87cf71dfb4f647ba107624e208ffbefe.tar.gz busybox-w32-7b81a44c87cf71dfb4f647ba107624e208ffbefe.tar.bz2 busybox-w32-7b81a44c87cf71dfb4f647ba107624e208ffbefe.zip |
win32: case-sensitivity in tab completion
The tab-completion code treated all matches as case-insensitive
because that's how Microsoft Windows handles filenames.
This is now inadequate, as shell builtins, functions and aliases
are case sensitive.
Modify the treatment of case-sensitivity in tab completion:
- Track whether each potential match is case-insensitive (filename)
or case-sensitive (shell builtin, function or alias).
- When comparing matches use a case-insensitive comparison if either
value is a filename. Otherwise use a case-sensitive comparison.
Adds 64 bytes.
Diffstat (limited to 'libbb/print_flags.c')
0 files changed, 0 insertions, 0 deletions