
April 21, 2010
3:33 a.m.
On 21/04/10 12:47, Mike Meyer wrote:
if you have a way to make it case-sensitive, you're back where we started from: needing to figure out whether the files in question care about case.
It's not whether the *files* care about case, it's whether the *application* cares about case. For example, an application that deals with image files should probably recognise .jpg, .JPG, .Jpg, etc. as all meaning the same thing. An application that deals with source files, on the other hand, will probably want to distinguish between .c and .C. So I think it's likely that in any particular case, the caller of hasextension() will know whether he wants case-sensitivity or not. -- Greg