aboutsummaryrefslogtreecommitdiff
path: root/circuitpython/lib/berkeley-db-1.xx/PORT/bsdi.1.0/OTHER_PATCHES
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2022-06-19 19:47:51 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2022-06-19 19:47:51 +0530
commit4fd287655a72b9aea14cdac715ad5b90ed082ed2 (patch)
tree65d393bc0e699dd12d05b29ba568e04cea666207 /circuitpython/lib/berkeley-db-1.xx/PORT/bsdi.1.0/OTHER_PATCHES
parent0150f70ce9c39e9e6dd878766c0620c85e47bed0 (diff)
add circuitpython code
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_PATCHES19
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;