📄 other_patches
字号:
*** 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); }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -