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

Re: Window Maker/WPrefs and NFS on potato



On Sat, 13 Nov 1999, Noah L. Meyerhans wrote:
> 
> I understand that fcntl locks don't work over NFS, but apparently fcntl
> used to set errno to ENOLCK if you tried it, while now it sets it to
> EACCESS.  That's apparently why the same code worked fine on
> slink.  libPropList will work fine if it's not able to establish the lock,
> and it does check for that situation.  But the change in libc's behavior 
> broke the checks that libProbList uses.  So I don't see how it can be
> libProbList's problem.  Why did the libc behavior change?  Who should be
> contacted regarding libc development questions like this?
> 

It may not be libc, it may be the kernel (it's a system call).

The X/Open standard and the man page have nothing to say about this issue. 
Neither ENOLCK nor EACCESS make any sense for this situation, really.

You could mail the glibc or kernel maintainers about it... however, I'm
sure the NFS behavior is non-portable in any case, so libPropList is
broken even if it happens to work on glibc/Linux or some versions of
glibc/Linux. Which is probably what they will tell you...

Havoc



Reply to: