]> git.saurik.com Git - apple/libc.git/blobdiff - db/btree/FreeBSD/bt_overflow.c.patch
Libc-825.24.tar.gz
[apple/libc.git] / db / btree / FreeBSD / bt_overflow.c.patch
diff --git a/db/btree/FreeBSD/bt_overflow.c.patch b/db/btree/FreeBSD/bt_overflow.c.patch
deleted file mode 100644 (file)
index d2bf3b5..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
---- bt_overflow.c.orig 2009-11-06 12:39:34.000000000 -0800
-+++ bt_overflow.c      2009-11-06 12:40:06.000000000 -0800
-@@ -88,7 +88,7 @@ __ovfl_get(BTREE *t, void *p, size_t *ss
- #ifdef DEBUG
-       if (pg == P_INVALID || sz == 0)
--              abort();
-+              LIBC_ABORT("%s", pg == P_INVALID ? "pg == P_INVALID" : "sz == 0");
- #endif
-       /* Make the buffer bigger as necessary. */
-       if (*bufsz < sz) {
-@@ -192,7 +192,7 @@ __ovfl_delete(BTREE *t, void *p)
- #ifdef DEBUG
-       if (pg == P_INVALID || sz == 0)
--              abort();
-+              LIBC_ABORT("%s", pg == P_INVALID ? "pg == P_INVALID" : "sz == 0");
- #endif
-       if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
-               return (RET_ERROR);