Commit | Line | Data |
---|---|---|
01ed2b60 C |
1 | *** bt_open.c.orig Thu Sep 1 07:18:03 1994 |
2 | --- bt_open.c Wed Nov 2 16:49:57 1994 | |
3 | *************** | |
4 | *** 259,265 **** | |
5 | --- 259,269 ---- | |
6 | * Don't overflow the page offset type. | |
7 | */ | |
8 | if (b.psize == 0) { | |
9 | + #ifdef STBLKSIZE_NOT_AVAILABLE | |
10 | + b.psize = 512; | |
11 | + #else | |
12 | b.psize = sb.st_blksize; | |
13 | + #endif | |
14 | if (b.psize < MINPSIZE) | |
15 | b.psize = MINPSIZE; | |
16 | if (b.psize > MAX_PAGE_OFFSET + 1) |