Yeah, I just found it too.  In principle the closest errno would be EBADF 
though, which is not much more user-friendly :(.  So I'm not sure what the best 
response to this is.

>        EBADF  cmd  is  F_SETLK  or  F_SETLKW and the file descriptor open mode
>              doesn't match with the type of lock requested.

(same as `write()` on an fd which was not opened for writing).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/355#issuecomment-343745434
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to