lcore.org gitweb
/
lcore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix regression: memory leak in processtasks. also the repeating task fix needs curren...
[lcore.git]
/
lcorernd.pas
diff --git
a/lcorernd.pas
b/lcorernd.pas
index b76ab4934ffe4c15365f12467442e3d186b2dccb..6f1fe4877cc44df1b1bd3333a423f14d66fff4d0 100644
(file)
--- a/
lcorernd.pas
+++ b/
lcorernd.pas
@@
-4,7
+4,9
@@
----------------------------------------------------------------------------- }
\r
\r
unit lcorernd;
\r
----------------------------------------------------------------------------- }
\r
\r
unit lcorernd;
\r
-
\r
+{$ifdef fpc}
\r
+ {$mode delphi}
\r
+{$endif}
\r
interface
\r
\r
{$include lcoreconfig.inc}
\r
interface
\r
\r
{$include lcoreconfig.inc}
\r
@@
-176,11
+178,11
@@
const
halfhashsize=hashsize div 2;
\r
hashdwords=hashsize div wordsize;
\r
pooldwords=3*hashdwords;
\r
halfhashsize=hashsize div 2;
\r
hashdwords=hashsize div wordsize;
\r
pooldwords=3*hashdwords;
\r
- seeddwords=
32
;
\r
+ seeddwords=
40
;
\r
hashpasssize=48; {this number has to be small enough that hashing this size uses only one block transform}
\r
\r
var
\r
hashpasssize=48; {this number has to be small enough that hashing this size uses only one block transform}
\r
\r
var
\r
- {the seed part of this buffer must be at least as big as the OS seed (windows: 120 bytes, unix: 36 bytes)}
\r
+ //the seed part of this buffer must be at least as big as the OS seed (windows: 120 bytes for 32 bits, 160 bytes for 64 bits, unix: 36 bytes)
\r
pool:array[0..(pooldwords+seeddwords-1)] of wordtype;
\r
reseedcountdown:integer;
\r
\r
pool:array[0..(pooldwords+seeddwords-1)] of wordtype;
\r
reseedcountdown:integer;
\r
\r