215 |
|
init_global(); |
216 |
|
/* record disk space limit */ |
217 |
|
if (!vdef(DISKSPACE)) |
218 |
< |
maxdisk = (1L<<(sizeof(off_t)*8-2)) - 1024; |
218 |
> |
maxdisk = ((off_t)1<<(sizeof(off_t)*8-2)) - 1024; |
219 |
|
else |
220 |
|
maxdisk = 1024.*1024.*vflt(DISKSPACE); |
221 |
|
/* set up memory cache */ |
413 |
|
HDGRID *gp; |
414 |
|
{ |
415 |
|
extern char VersionID[]; |
416 |
< |
int4 lastloc, nextloc; |
416 |
> |
int32 lastloc, nextloc; |
417 |
|
int n; |
418 |
|
int fd; |
419 |
|
FILE *fp; |
479 |
|
FILE *fp; |
480 |
|
int fd; |
481 |
|
int n; |
482 |
< |
int4 nextloc; |
482 |
> |
int32 nextloc; |
483 |
|
|
484 |
|
if (ncprocs > 0 & force >= 0) |
485 |
|
fp = fopen(hdkfile, "r+"); |