This commit is contained in:
Kovid Goyal
2025-06-25 08:07:01 +05:30
parent c3c4ecb135
commit 37e9d2435b

View File

@@ -133,6 +133,7 @@ type sortable_dir_entry struct {
buf [unix.NAME_MAX + 1]byte
}
// lowercase a string into a pre-existing byte buffer with speedups for ASCII
func as_lower(s string, output []byte) int {
limit := min(len(s), len(output))
found_non_ascii := false