I've just spent a (was it happy, or was it unhappy) several hours tracking
down a long standing problem in my Mac port.
To cut a very long story short, my problem was that certain 'non-ascii'
characters would lowercase to one thing, and then lowercasing that would
give me something else (the 'ae' dipthong was the problem), so the hashing
would hash it again on each launch.
Obviously this is a bug in my standard c libraries (I'm getting tired of
those), but it did lead me to wondering why HashLoader::startTag is
lowercasing the files it reads from HashIndex.xml - they were lowercased
before they were written to it, so surely ...
string fname = Text::toLower(Util::getFileName(file));
string fpath = Text::toLower(Util::getFilePath(file));
Isn't required?
Incidentally, perhaps someone could enlighten me as to why file names are
being lowercased at all?
I'm off to a funeral tomorrow, back in a couple of weeks.
|