To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=61865





------- Additional comments from [EMAIL PROTECTED] Fri Feb 10 11:44:01 -0800 
2006 -------
The only locking related change that I could find from the cws nfslocking was
the one below. I do not know if this fixes the real problem or not. If it
doesn't, then maybe it would be better to just disable the
SAL_ENABLE_FILE_LOCKING by default on Mac OS X. It just causes too many problems
with nfs, as can be seen from IZ 54586...


--- ucb.org/source/ucp/file/filglob.cxx 2006-02-10 21:33:19.000000000 +0200    
                                                                               
       
+++ ucb/source/ucp/file/filglob.cxx     2006-02-10 21:33:35.000000000 +0200    
                                                                               
       
@@ -4,9 +4,9 @@
  *                                                                            
                                                                               
       
  *  $RCSfile: filglob.cxx,v $                                                 
                                                                               
       
  *                                                                            
                                                                               
       
- *  $Revision: 1.20 $                                                         
                                                                               
       
+ *  $Revision: 1.20.18.2 $                                                    
                                                                               
       
  *                                                                            
                                                                               
       
- *  last change: $Author: kz $ $Date: 2005/11/04 15:39:22 $                   
                                                                               
       
+ *  last change: $Author: abi $ $Date: 2006/01/05 11:14:25 $                  
                                                                               
       
  *                                                                            
                                                                               
       
  *  The Contents of this file are made available subject to                   
                                                                               
       
  *  the terms of GNU Lesser General Public License Version 2.1.               
                                                                               
       
@@ -32,7 +32,7 @@
  *    MA  02111-1307  USA                                                     
                                                                               
       
  *                                                                            
                                                                               
       
  ************************************************************************/    
                                                                               
       
-                                                                              
                                                                               
       
+#include <stdio.h>                                                            
                                                                               
       
 #ifndef _FILGLOB_HXX_                                                         
                                                                               
       
 #include "filglob.hxx"                                                        
                                                                               
       
 #endif                                                                        
                                                                               
       
@@ -489,6 +489,10 @@
                                        // Operation would block<br>           
                                                                               
       
                                        ioErrorCode =
IOErrorCode_LOCKING_VIOLATION;                                                 
                                 
                                        break;                                 
                                                                               
       
+                               case FileBase::E_NOLCK:  // No record locks
available<br>                                                                  
           
+                    ioErrorCode = IOErrorCode_LOCKING_VIOLATION;              
                                                                               
       
+                    break;                                                    
                                                                               
       
+                                                                              
                                                                               
       
                                case FileBase::E_FAULT: // Bad address<br>     
                                                                               
       
                                case FileBase::E_LOOP:  // Too many symbolic
links encountered<br>                                                          
          
                                case FileBase::E_NOSPC: // No space left on
device<br>                                                                     
           
@@ -629,6 +633,8 @@
                     ioErrorCode = IOErrorCode_DEVICE_NOT_READY;               
                                                                               
       
                     break;                                                    
                                                                               
       
                                case FileBase::E_NOLCK:  // No record locks
available<br>                                                                  
           
+                    ioErrorCode = IOErrorCode_LOCKING_VIOLATION;              
                                                                               
       
+                    break;                                                    
                                                                               
       
                                case FileBase::E_IO:     // I/O error<br>      
                                                                               
       
                                case FileBase::E_BADF:   // Bad file<br>       
                                                                               
       
                                case FileBase::E_FAULT:  // Bad address<br>    
                                                                               
       
                                                                                
   

---------------------------------------------------------------------
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