An error occurred while fetching folder content.
chars: properly compare strings of different lengths
Benno Schulenberg authored
That is: don't run towlower() on the two differing bytes when having
reached the end of one of the strings.

This fixes https://savannah.gnu.org/bugs/?48700.

In the bargain, don't do the conversion to lowercase twice.

Furthermore, persist when encountering invalid byte sequences --
until finding bytes that differ.
d80109dd
Name Last commit Last update
..