]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9469 - Typo fixes
authorQuanah Gibson-Mount <quanah@openldap.org>
Thu, 18 Feb 2021 16:25:45 +0000 (16:25 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Thu, 18 Feb 2021 16:25:45 +0000 (16:25 +0000)
libraries/liblmdb/lmdb.h
libraries/liblmdb/mdb.c

index be6bd8c4efd05490e0072330f849792d2bbc84fa..155bb2a3f6da73baf04bc4ae9fc0291e8701d41b 100644 (file)
@@ -652,7 +652,7 @@ int  mdb_env_create(MDB_env **env);
         *      <li>#MDB_NOTLS
         *              Don't use Thread-Local Storage. Tie reader locktable slots to
         *              #MDB_txn objects instead of to threads. I.e. #mdb_txn_reset() keeps
-        *              the slot reseved for the #MDB_txn object. A thread may use parallel
+        *              the slot reserved for the #MDB_txn object. A thread may use parallel
         *              read-only transactions. A read-only transaction may span threads if
         *              the user synchronizes its use. Applications that multiplex many
         *              user threads over individual OS threads need this option. Such an
@@ -1020,7 +1020,7 @@ void *mdb_env_get_userctx(MDB_env *env);
 typedef void MDB_assert_func(MDB_env *env, const char *msg);
 
        /** Set or reset the assert() callback of the environment.
-        * Disabled if liblmdb is buillt with NDEBUG.
+        * Disabled if liblmdb is built with NDEBUG.
         * @note This hack should become obsolete as lmdb's error handling matures.
         * @param[in] env An environment handle returned by #mdb_env_create().
         * @param[in] func An #MDB_assert_func function, or 0.
index e43c05b0569cb485c25376090d01bfe7f95d75d1..e284675b74d02b9aa27f78498c48d3259b89f5d5 100644 (file)
@@ -592,7 +592,7 @@ static txnid_t mdb_debug_start;
         *      The string is printed literally, with no format processing.
         */
 #define DPUTS(arg)     DPRINTF(("%s", arg))
-       /** Debuging output value of a cursor DBI: Negative in a sub-cursor. */
+       /** Debugging output value of a cursor DBI: Negative in a sub-cursor. */
 #define DDBI(mc) \
        (((mc)->mc_flags & C_SUB) ? -(int)(mc)->mc_dbi : (int)(mc)->mc_dbi)
 /** @} */