aboutsummaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/btree/bt_seq.c4
-rw-r--r--db/btree/bt_utils.c2
-rw-r--r--db/btree/btree.h2
-rw-r--r--db/hash/hash.h2
-rw-r--r--db/recno/rec_utils.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/db/btree/bt_seq.c b/db/btree/bt_seq.c
index eacef29..90f8960 100644
--- a/db/btree/bt_seq.c
+++ b/db/btree/bt_seq.c
@@ -92,7 +92,7 @@ __bt_seq(dbp, key, data, flags)
}
/*
- * If scan unitialized as yet, or starting at a specific record, set
+ * If scan uninitialized as yet, or starting at a specific record, set
* the scan to a specific key. Both __bt_seqset and __bt_seqadv pin
* the page the cursor references if they're successful.
*/
@@ -364,7 +364,7 @@ __bt_first(t, key, erval, exactp)
*erval = *ep;
return (RET_SUCCESS);
}
-
+
/*
* Walk backwards, as long as the entry matches and there are
* keys left in the tree. Save a copy of each match in case
diff --git a/db/btree/bt_utils.c b/db/btree/bt_utils.c
index 9c1438e..1416c78 100644
--- a/db/btree/bt_utils.c
+++ b/db/btree/bt_utils.c
@@ -76,7 +76,7 @@ __bt_ret(t, e, key, rkey, data, rdata, copy)
bl = GETBLEAF(e->page, e->index);
/*
- * We must copy big keys/data to make them contigous. Otherwise,
+ * We must copy big keys/data to make them contiguous. Otherwise,
* leave the page pinned and don't copy unless the user specified
* concurrent access.
*/
diff --git a/db/btree/btree.h b/db/btree/btree.h
index 36d35c9..ab4c5b5 100644
--- a/db/btree/btree.h
+++ b/db/btree/btree.h
@@ -161,7 +161,7 @@ typedef struct _rinternal {
#define NRINTERNAL \
LALIGN(sizeof(recno_t) + sizeof(pgno_t))
-/* Copy a RINTERAL entry to the page. */
+/* Copy a RINTERNAL entry to the page. */
#define WR_RINTERNAL(p, nrecs, pgno) { \
*(recno_t *)p = nrecs; \
p += sizeof(recno_t); \
diff --git a/db/hash/hash.h b/db/hash/hash.h
index 1c599c1..62176d7 100644
--- a/db/hash/hash.h
+++ b/db/hash/hash.h
@@ -104,7 +104,7 @@ typedef struct htab { /* Memory resident data structure */
int cbucket; /* Current bucket */
int cndx; /* Index of next item on cpage */
int errnum; /* Error Number -- for DBM
- * compatability */
+ * compatibility */
int new_file; /* Indicates if fd is backing store
* or no */
int save_file; /* Indicates whether we need to flush
diff --git a/db/recno/rec_utils.c b/db/recno/rec_utils.c
index baea3fa..c4c0380 100644
--- a/db/recno/rec_utils.c
+++ b/db/recno/rec_utils.c
@@ -90,7 +90,7 @@ dataonly:
return (RET_SUCCESS);
/*
- * We must copy big keys/data to make them contigous. Otherwise,
+ * We must copy big keys/data to make them contiguous. Otherwise,
* leave the page pinned and don't copy unless the user specified
* concurrent access.
*/