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

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to