Mail Archives: djgpp-workers/1996/08/13/19:22:58
Okay - my 2 cents worth. I don't think we should make any more API calls
than we currently do - there is no reason to make DJGPP slower than it
currently is over something like case ... What I would do is something
like:
if(!use_lfn || !filename_contains_lower_case)
tolower(name);
For non-lfn systems, this preserves the current behavior.
For lfn-systems with no lfns, the behavior is the same as before.
For lfn-systems with Mixed case names, the case is preserved.
This is how my personal libc calls work, it was trivial to implement in
all calls which return names (itsa routine).
The only losage would be all upper case names which you wanted to stay
upper case. Tuff.
If you choose not to lowercase all UPPER names on W95 you should see the
same behavior under DOS.
- Raw text -