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

Hans-Peter Diettrich DrDiettrich1 at aol.com
Sat Aug 28 13:40:19 CEST 2010


Marco van de Voort schrieb:

> Doesn't that depend on filemode? I see a lot of places in the compiler where
> it is read/changed/preserved:
[...]
> None of them in options. So there could be something to it, specially since
> it is so early in the startup.

IMO we should add an (optional?) filemode parameter to the old style 
file procedures, so that every file can be opened with the appropriate 
settings and without affecting other files. Just like in TFileStream...

The default mode should not lock any file, at least for read(only) access.

DoDi




More information about the fpc-devel mailing list