[fpc-devel] does fpc lock the fpc.cfg exclusive on windows?

Jonas Maebe jonas.maebe at elis.ugent.be
Sat Aug 28 11:59:57 CEST 2010


On 28 Aug 2010, at 01:07, Martin wrote:

> But *if* fpc does lock the fpc.cfg file exclusively ( for a very short time only, e.g. just open+lock, read, close), then there is the slim chance of a conflict, and this error could be explained.

FPC opens it as a regular text file using a regular assign/reset. I don't think that will result in exclusive access. It also checks for its existence using sysutils.fileexists, but I doubt that one asks for exclusive access either.


Jonas


More information about the fpc-devel mailing list