[fpc-devel] TStream.ReadByte/Word/DWord implementation

2006-08-02 Thread Bram Kuijvenhoven
Hi! I saw that the implementations of TStream.ReadByte/Word/DWord (in rtl/objpas/classes/streams.inc) each use a local variable: function TStream.ReadByte : Byte; var b : Byte; begin ReadBuffer(b,1); ReadByte:=b; end; function TStream.ReadWord : Word; var

Re: [fpc-devel] fpc 2.0.4 rc2 and mse

2006-08-02 Thread Joost van der Sluis
On Wed, 2006-08-02 at 06:57 +0200, Martin Schreiber wrote: Did you fix Mantis 6898 in the meantime? You said that TBufDataset can use invalid pointers, even if there wasn't any exception, if a dataset is opened and closed more then once. No, the problem is if here was a db exception on

Re: [fpc-devel] fpc 2.0.4 rc2 and mse

2006-08-02 Thread Martin Schreiber
On Wednesday 02 August 2006 16.51, Joost van der Sluis wrote: On Wed, 2006-08-02 at 06:57 +0200, Martin Schreiber wrote: Did you fix Mantis 6898 in the meantime? You said that TBufDataset can use invalid pointers, even if there wasn't any exception, if a dataset is opened and closed

Re: [fpc-devel] fpc 2.0.4 rc2 and mse

2006-08-02 Thread Joost van der Sluis
On Wed, 2006-08-02 at 21:58 +0200, Martin Schreiber wrote: On Wednesday 02 August 2006 16.51, Joost van der Sluis wrote: On Wed, 2006-08-02 at 06:57 +0200, Martin Schreiber wrote: Did you fix Mantis 6898 in the meantime? You said that TBufDataset can use invalid pointers, even if