diff options
Diffstat (limited to 'circuitpython/lib/berkeley-db-1.xx/PORT/bsdi.1.0/OTHER_PATCHES')
-rw-r--r-- | circuitpython/lib/berkeley-db-1.xx/PORT/bsdi.1.0/OTHER_PATCHES | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/circuitpython/lib/berkeley-db-1.xx/PORT/bsdi.1.0/OTHER_PATCHES b/circuitpython/lib/berkeley-db-1.xx/PORT/bsdi.1.0/OTHER_PATCHES new file mode 100644 index 0000000..85027c9 --- /dev/null +++ b/circuitpython/lib/berkeley-db-1.xx/PORT/bsdi.1.0/OTHER_PATCHES @@ -0,0 +1,19 @@ +*** PORT/db/recno/rec_open.c.orig Mon Aug 16 16:29:18 1993 +--- PORT/db/recno/rec_open.c Mon Aug 16 16:29:35 1993 +*************** +*** 159,165 **** + else { + t->bt_msize = sb.st_size; + if ((t->bt_smap = mmap(NULL, t->bt_msize, +! PROT_READ, MAP_PRIVATE, rfd, + (off_t)0)) == (caddr_t)-1) + goto slow; + t->bt_cmap = t->bt_smap; +--- 159,165 ---- + else { + t->bt_msize = sb.st_size; + if ((t->bt_smap = mmap(NULL, t->bt_msize, +! PROT_READ, MAP_FILE | MAP_PRIVATE, rfd, + (off_t)0)) == (caddr_t)-1) + goto slow; + t->bt_cmap = t->bt_smap; |