Jonathan Pryor <[EMAIL PROTECTED]> [041016]: > On Fri, 2004-10-15 at 08:24, Lokesh N wrote: > > If so can mono be made case insensitive > > Not likely. At least, not efficiently. On a case-sensitive > file-system, Mono would need to try every permutation of a filename to > see if it exists, e.g. > > admin > Admin > aDmin > adMin > ... > > There are 2^5 (32) such permutations. It gets worse as the length of > the filename increase, and this is *not* something we'd want to do when > accessing every file in the system.
What about listing the complete directory and growing an Hashtable with keys="lowercase name" and value="original name" ? I think samba and wine do something similar. The default mode has to be case sensitive, but a --case-insensistive mode for mono would probably be useful to run uncareful closed-source assemblies. > It's far faster for you to correct case-sensitivity issues in your code. -- Antony Lesuisse _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
