[fpc-devel] does fpc lock the fpc.cfg exclusive on windows?
Marco van de Voort
marcov at stack.nl
Sat Aug 28 13:07:11 CEST 2010
In our previous episode, Hans-Peter Diettrich said:
> > 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.
We still have to support the filemode var out of compatibility.
So I'm not exactly sure what you are proposing.
Do you mean you want a kind file I/O wrappers somewhere to avoid this in new
code? Then there is no reason to use mutate the existing routines, just
write a new unit.
More information about the fpc-devel
mailing list