tiny cleanups.
This commit is contained in:
parent
7ddaaa1362
commit
9cbdf8f57e
@ -1412,7 +1412,7 @@ Yap_InitMemory(UInt Trail, UInt Heap, UInt Stack)
|
||||
#if RANDOMIZE_START_ADDRESS
|
||||
srand(time(NULL));
|
||||
UInt x = (rand()% 100)*YAP_ALLOC_SIZE ;
|
||||
fprintf(stderr,"x=%ulx\n", (unsigned long int)x);
|
||||
fprintf(stderr,"x=%lx\n", (unsigned long int)x);
|
||||
pm += x;
|
||||
#endif
|
||||
addr = InitWorkSpace(pm);
|
||||
|
2
H/Yap.h
2
H/Yap.h
@ -254,7 +254,7 @@ extern char Yap_Option[20];
|
||||
#endif
|
||||
#endif /* !IN_SECOND_QUADRANT */
|
||||
|
||||
/* #define RANDOMIZE_START_ADDRESS 1 */
|
||||
/* #define RANDOMIZE_START_ADDRESS 1*/
|
||||
|
||||
#ifdef USE_SYSTEM_MALLOC
|
||||
#define HEAP_INIT_BASE 0L
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit c325e4564bb8d4e32c27f2061df85f13d315974e
|
||||
Subproject commit e071f01c1d9015e6d3fabc73092a6e902541485a
|
@ -1 +1 @@
|
||||
Subproject commit a2d2f03107eecd45462cd61a678035132cf06326
|
||||
Subproject commit eb6d27251c2548c25e6d37fff2a27a014caaa7aa
|
Reference in New Issue
Block a user