Re: [fpc-pascal]Error running gdbmtest2.pp

2004-07-30 Thread Jérémie LEFRANCOIS
I am not too sure, be I might suggest that instead of moving that test : *** if key.dptr<>Nil then *** before the line : *** SetLength(DatumToString,Key.dsize); *** you could move it *after* that line. Because I understand that in case key.dptr is nil Move(key.dptr^,... is a mistake, but th

[fpc-pascal]Error running gdbmtest2.pp

2004-07-29 Thread Christian Müllerke
Hi! Maybe I'd found a bug in gdbm.pp I'm running Linux (2.6.7) and fpc-1.9.4: [EMAIL PROTECTED] fpctest2 $ ./testgdbm2 Inserted string 1 Inserted string 2 Inserted string 3 Inserted string 4 Inserted string 5 Inserted string 6 Inserted string 7 Inserted string 8 Inserted string 9 Inserted string