On 03/11/2016 07:33 PM, Leyne, Sean wrote: > Alex, > >> OS certainly knows, but when we attach to database SAMPLE.fdb we look in >> the list of opened databases - do we already have such database opened? >> And if we use case-insensitive comparison of file names and have sample.fdb >> already attached we will decide that we have one more attachment to it, i.e. >> invalid database file will be used. In the best case user will not find >> required >> objects in it or will not have access rights to them. In the worst case he >> will >> select wrong data, modify data in invalid way, etc. > It seems that no one has looked at the File Management Structures of the > Windows API for quite some time, it seems that ObjectId of the > FILE_OBJECTID_BUFFER structure (which is supported as of WinXP) would also > seem to fit the bill!
Sean, I see no problems with changing way of files comparison for windows if needed. I just disagree with case-insensitive comparison on posix where FS is case-sensitive. And it applies to all places where file names are used, including config files. ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel