Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
HAMANO Tsukasa
OpenLDAP
Commits
4376a19c
Commit
4376a19c
authored
Dec 01, 2014
by
Hallvard Furuseth
Committed by
Hallvard Furuseth
Dec 01, 2014
Browse files
Fix comments
parent
4bda1d24
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/liblmdb/mdb.c
View file @
4376a19c
...
...
@@ -935,7 +935,7 @@ typedef struct MDB_meta {
/** Stamp identifying this as an LMDB file. It must be set
* to #MDB_MAGIC. */
uint32_t
mm_magic
;
/** Version number of this
lock
file. Must be set to #MDB_DATA_VERSION. */
/** Version number of this file. Must be set to #MDB_DATA_VERSION. */
uint32_t
mm_version
;
void
*
mm_address
;
/**< address for fixed mapping */
size_t
mm_mapsize
;
/**< size of mmap region */
...
...
@@ -4097,7 +4097,7 @@ mdb_env_share_locks(MDB_env *env, int *excl)
return
rc
;
}
/** Try to get exlusive lock, otherwise shared.
/** Try to get ex
c
lusive lock, otherwise shared.
* Maintain *excl = -1: no/unknown lock, 0: shared, 1: exclusive.
*/
static
int
ESECT
...
...
@@ -4238,7 +4238,6 @@ mdb_hash_enc(MDB_val *val, char *encbuf)
* @param[in] env The LMDB environment.
* @param[in] lpath The pathname of the file used for the lock region.
* @param[in] mode The Unix permissions for the file, if we create it.
* @param[out] excl Resulting file lock type: -1 none, 0 shared, 1 exclusive
* @param[in,out] excl In -1, out lock type: -1 none, 0 shared, 1 exclusive
* @return 0 on success, non-zero on failure.
*/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment