k_flock?
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2882 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -101,6 +101,7 @@
|
|||||||
#include <krb.h>
|
#include <krb.h>
|
||||||
#include <prot.h>
|
#include <prot.h>
|
||||||
#else
|
#else
|
||||||
|
#if 0 /* ??? */
|
||||||
/* Portable file locking */
|
/* Portable file locking */
|
||||||
#define k_flock(fd, operation) flock((fd), (operation))
|
#define k_flock(fd, operation) flock((fd), (operation))
|
||||||
#define K_LOCK_SH LOCK_SH /* Shared lock */
|
#define K_LOCK_SH LOCK_SH /* Shared lock */
|
||||||
@@ -108,6 +109,7 @@
|
|||||||
#define K_LOCK_NB LOCK_NB /* Don't block when locking */
|
#define K_LOCK_NB LOCK_NB /* Don't block when locking */
|
||||||
#define K_LOCK_UN LOCK_UN /* Unlock */
|
#define K_LOCK_UN LOCK_UN /* Unlock */
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
#include <krb5.h>
|
#include <krb5.h>
|
||||||
|
|
||||||
#define MAXUSERNAMELEN 65
|
#define MAXUSERNAMELEN 65
|
||||||
|
Reference in New Issue
Block a user