Removing "ole locking compat" - Re: CVS update: samba/source/lib

John E. Malmberg wb8tyw at qsl.net
Thu Apr 13 09:56:01 EST 2000


I may have a problem with that on OpenVMS.

OpenVMS can not lock a non-existent part of a file through fcntl() emulation
on the native filesystems.  I am compensating for this by having the fcntl()
emulation extend the file if needed in order to do the lock.

Since the documentation indicates that "ole locking compat=yes" is done by
specifying a very large byte offset into the file, this can not be done
under OpenVMS.  It also could be a problem to work around or an easy,
depending on what you are doing.

-John
wb8tyw at qsl.net

Jeremy Allison <jra at samba.org> wrote:
>
> Date: Thursday April 13, 2000 @ 9:01
> Author: jra
>
> Update of /data/cvs/samba/source/lib
> In directory samba:/tmp/cvs-serv3988/lib
>
> Modified Files:
>       Tag: SAMBA_TNG
> util_file.c
> Log Message:
> Removed "ole locking compat" parameter (no longer used).
> We now get/set/check POSIX locks, but I still need to code up the
> close fd braindamage...
> Jeremy.




More information about the samba-cvs mailing list