diff options
| author | Ron Yorston <rmy@pobox.com> | 2024-04-22 07:54:34 +0100 |
|---|---|---|
| committer | Ron Yorston <rmy@pobox.com> | 2024-04-22 07:54:34 +0100 |
| commit | b5131ae1c0bb7984b35c909d04e2f4a61a7b6d8f (patch) | |
| tree | e1a23e01cdffe3128c44d6e41f86c17c43782202 /scripts/basic/split-include.c | |
| parent | acda99ca9984570b03825c295a5617e67f0c1d7c (diff) | |
| download | busybox-w32-b5131ae1c0bb7984b35c909d04e2f4a61a7b6d8f.tar.gz busybox-w32-b5131ae1c0bb7984b35c909d04e2f4a61a7b6d8f.tar.bz2 busybox-w32-b5131ae1c0bb7984b35c909d04e2f4a61a7b6d8f.zip | |
win32: adjust handling of executable extensions
Mixing Windows and Unix-style filename extensions was causing
problems. Tweak how extensions are handled to try and improve
matters:
- Consistently check whether the unaltered filename is an
executable before trying adding extensions.
- Check .exe and .com before .sh.
Saves up to 16 bytes.
(GitHub issue #405)
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions
