Marco van de Voort schrieb:
> I'm not sure if the *rec records can handle pointers, one probably can't use
> reference types in them, because the standard filedescriptions are
> threadvars.
> Think what happens if those are simply "cloned".

Of course, all "cloning" needs to be changed too so that
the name pointer is not cloned (but assigned in a standard way).

The alternative would be to reserve a 64k buffer for the file
name in the *rec structures. I am not sure whether this is
intended and useful. And in 10 or 20 years this limit is breached
again and another change is necessary. Double work IMO.


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

Reply via email to