krb5 commit: Remove KRB5_DB_LOCKMODE_DONTBLOCK from kdb.h

Greg Hudson ghudson at MIT.EDU
Tue Oct 16 20:26:55 EDT 2012


https://github.com/krb5/krb5/commit/5af1e88bc377dc520597ad4f4cc00512c1ae75e9
commit 5af1e88bc377dc520597ad4f4cc00512c1ae75e9
Author: Greg Hudson <ghudson at mit.edu>
Date:   Tue Oct 16 20:26:04 2012 -0400

    Remove KRB5_DB_LOCKMODE_DONTBLOCK from kdb.h
    
    It's wasn't used and wasn't implemented.

 src/include/kdb.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/include/kdb.h b/src/include/kdb.h
index fd3a6e9..5e9213f 100644
--- a/src/include/kdb.h
+++ b/src/include/kdb.h
@@ -348,7 +348,6 @@ extern char *krb5_mkey_pwd_prompt2;
 
 #define KRB5_DB_LOCKMODE_SHARED       0x0001
 #define KRB5_DB_LOCKMODE_EXCLUSIVE    0x0002
-#define KRB5_DB_LOCKMODE_DONTBLOCK    0x0004
 #define KRB5_DB_LOCKMODE_PERMANENT    0x0008
 
 /* libkdb.spec */
@@ -902,7 +901,6 @@ typedef struct _kdb_vftabl {
      * KRB5_DB_LOCKMODE_SHARED: Lock may coexist with other shared locks.
      * KRB5_DB_LOCKMODE_EXCLUSIVE: Lock may not coexist with other locks.
      * KRB5_DB_LOCKMODE_PERMANENT: Exclusive lock surviving process exit.
-     * (KRB5_DB_LOCKMODE_DONTBLOCK is unused and unimplemented.)
      *
      * Used by the "kadmin lock" command, incremental propagation, and
      * kdb5_util dump.  Incremental propagation support requires shared locks


More information about the cvs-krb5 mailing list