*** PORT/db/btree/bt_open.c.DIST Thu Jun 16 18:11:00 1994 --- PORT/db/btree/bt_open.c Mon Aug 15 16:10:47 1994 *************** *** 255,261 **** --- 255,265 ---- * Don't overflow the page offset type. */ if (b.psize == 0) { + #ifndef sgi b.psize = sb.st_blksize; + #else + b.psize = 4096; + #endif /* sgi */ if (b.psize < MINPSIZE) b.psize = MINPSIZE; if (b.psize > MAX_PAGE_OFFSET + 1) *** PORT/db/hash/hash.c.DIST Fri Jun 24 09:12:29 1994 --- PORT/db/hash/hash.c Mon Aug 15 16:10:47 1994 *************** *** 301,307 **** --- 301,311 ---- if (file != NULL) { if (stat(file, &statbuf)) return (NULL); + #ifndef sgi hashp->BSIZE = statbuf.st_blksize; + #else + hashp->BSIZE = 4096; + #endif /* sgi */ hashp->BSHIFT = __log2(hashp->BSIZE); }