aboutsummaryrefslogtreecommitdiff
path: root/circuitpython/lib/berkeley-db-1.xx/PORT/irix.4.05F/OTHER_PATCHES
blob: 46c624b2573bdd4f862b4fb7ab69501cfe17e517 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
*** PORT/db/btree/bt_open.c.dist	Thu Sep 16 14:42:22 1993
--- PORT/db/btree/bt_open.c	Mon Nov  8 07:03:40 1993
***************
*** 256,262 ****
--- 256,266 ----
  		 * 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	Thu Nov  4 15:32:16 1993
--- PORT/db/hash/hash.c	Mon Nov  8 07:05:12 1993
***************
*** 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);
  	}