Module Name: src
Committed By: ryoon
Date: Wed Sep 4 13:03:22 UTC 2013
Modified Files:
src/lib/libc/db/btree: bt_seq.c bt_utils.c btree.h
Log Message:
Fix typos from FreeMiNT's db-1.86 patch.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/lib/libc/db/btree/bt_seq.c
cvs rdiff -u -r1.13 -r1.14 src/lib/libc/db/btree/bt_utils.c
cvs rdiff -u -r1.16 -r1.17 src/lib/libc/db/btree/btree.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/db/btree/bt_seq.c
diff -u src/lib/libc/db/btree/bt_seq.c:1.17 src/lib/libc/db/btree/bt_seq.c:1.18
--- src/lib/libc/db/btree/bt_seq.c:1.17 Thu Sep 11 12:58:00 2008
+++ src/lib/libc/db/btree/bt_seq.c Wed Sep 4 13:03:22 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: bt_seq.c,v 1.17 2008/09/11 12:58:00 joerg Exp $ */
+/* $NetBSD: bt_seq.c,v 1.18 2013/09/04 13:03:22 ryoon Exp $ */
/*-
* Copyright (c) 1990, 1993, 1994
@@ -37,7 +37,7 @@
#endif
#include <sys/cdefs.h>
-__RCSID("$NetBSD: bt_seq.c,v 1.17 2008/09/11 12:58:00 joerg Exp $");
+__RCSID("$NetBSD: bt_seq.c,v 1.18 2013/09/04 13:03:22 ryoon Exp $");
#include "namespace.h"
#include <sys/types.h>
@@ -92,7 +92,7 @@ __bt_seq(const DB *dbp, DBT *key, DBT *d
}
/*
- * 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.
*/
Index: src/lib/libc/db/btree/bt_utils.c
diff -u src/lib/libc/db/btree/bt_utils.c:1.13 src/lib/libc/db/btree/bt_utils.c:1.14
--- src/lib/libc/db/btree/bt_utils.c:1.13 Wed Sep 10 17:52:35 2008
+++ src/lib/libc/db/btree/bt_utils.c Wed Sep 4 13:03:22 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: bt_utils.c,v 1.13 2008/09/10 17:52:35 joerg Exp $ */
+/* $NetBSD: bt_utils.c,v 1.14 2013/09/04 13:03:22 ryoon Exp $ */
/*-
* Copyright (c) 1990, 1993, 1994
@@ -37,7 +37,7 @@
#endif
#include <sys/cdefs.h>
-__RCSID("$NetBSD: bt_utils.c,v 1.13 2008/09/10 17:52:35 joerg Exp $");
+__RCSID("$NetBSD: bt_utils.c,v 1.14 2013/09/04 13:03:22 ryoon Exp $");
#include <sys/param.h>
@@ -74,7 +74,7 @@ __bt_ret(BTREE *t, EPG *e, DBT *key, DBT
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.
*/
Index: src/lib/libc/db/btree/btree.h
diff -u src/lib/libc/db/btree/btree.h:1.16 src/lib/libc/db/btree/btree.h:1.17
--- src/lib/libc/db/btree/btree.h:1.16 Tue Aug 26 21:18:38 2008
+++ src/lib/libc/db/btree/btree.h Wed Sep 4 13:03:22 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: btree.h,v 1.16 2008/08/26 21:18:38 joerg Exp $ */
+/* $NetBSD: btree.h,v 1.17 2013/09/04 13:03:22 ryoon Exp $ */
/*-
* Copyright (c) 1991, 1993, 1994
@@ -185,7 +185,7 @@ typedef struct _rinternal {
#define NRINTERNAL \
BTLALIGN(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) do { \
*(recno_t *)(void *)p = nrecs; \
p += sizeof(recno_t); \