[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ndbm is a mess



Or better yet, build it without locking at all -- I've got patches for
that if you want them. (Certainly should prefer POSIX locking in
general, esp. as autoconf-based programs will too - though the only
one I know of it kerberos V5...)

>3) gdbm should be built with flock turned off.  flock is not
>   compatible with fcntl locking (if gdbm locks the file with flock
>   and your app uses fcntl you lose.)  Since fcntl locking is POSIX we
>   should prefer it.  Unfortunately, gdbm-1.7.3 builds out-of-the-box
>   with flock, so you must manually edit the autoconf.h.


Reply to: