To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=53682
                  Issue #:|53682
                  Summary:|sal / nfs locking bug ...
                Component:|porting
                  Version:|680m123
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|PATCH
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|mh
              Reported by:|mmeeks





------- Additional comments from [EMAIL PROTECTED] Tue Aug 23 09:35:55 -0700 
2005 -------
With newer kernels we get:
   4678 fcntl64(31, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 
-1
ENOLCK (No locks available)
instead of:
   23655 fcntl64(34, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) 
= -1
EACCES (Permission denied)

our flock code is not defensive & doesn't cover this case. This patch at least
handles ENOLCK - you can argue about what we should do in this case - obviously
;-) - I accept the lock.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to