* configure.in: check for HAVE_FLOCK, since we may need to use
authorMark Eichin <eichin@mit.edu>
Tue, 21 Feb 1995 23:51:47 +0000 (23:51 +0000)
committerMark Eichin <eichin@mit.edu>
Tue, 21 Feb 1995 23:51:47 +0000 (23:51 +0000)
commit1a6d65374e6d50ffe0275e7e85d04f2b9c00746a
tree50e85687f603ef82058e281eb0f527aaa0bc7dab
parentd62aa61c2e5adfa4c5520fd61f929e0a0cc5a655
* configure.in: check for HAVE_FLOCK, since we may need to use
both flock and fcntl.
* fcc_maybe.c: try fcntl lock, if we get EINVAL specifically, fall
back to flock (if we have it.)

Now kinit et. al. "just work" on sunos and solaris, even if you use tmpfs.
(tested on sunos, the solaris build has recently broken elsewhere...)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4964 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/ccache/file/ChangeLog
src/lib/krb5/ccache/file/configure.in
src/lib/krb5/ccache/file/fcc_maybe.c