summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorOliver Braun <obr@openoffice.org>2001-09-19 09:59:31 +0000
committerOliver Braun <obr@openoffice.org>2001-09-19 09:59:31 +0000
commit45ca16010fc8719151d14889b0b5ca3706357a4f (patch)
treea9999ac40cb283b641e3db9682a35d528e11be70 /ucb
parent377a986804dc153bf36ffc3116cc902b66138eb0 (diff)
#90517# handle additional error code of osl_openFile
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/file/filglob.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/ucb/source/ucp/file/filglob.cxx b/ucb/source/ucp/file/filglob.cxx
index 5f1fbf0b7d83..7570e4d76170 100644
--- a/ucb/source/ucp/file/filglob.cxx
+++ b/ucb/source/ucp/file/filglob.cxx
@@ -417,6 +417,9 @@ namespace fileaccess {
case FileBase::E_BUSY: // Text file busy<br>
ioErrorCode = IOErrorCode_LOCKING_VIOLATION;
break;
+ case FileBase::E_AGAIN: // Operation would block<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>
@@ -506,11 +509,13 @@ namespace fileaccess {
case FileBase::E_ISDIR: // Is a directory<br>
ioErrorCode = IOErrorCode_NO_FILE;
break;
+ case FileBase::E_AGAIN: // Operation would block<br>
+ ioErrorCode = IOErrorCode_LOCKING_VIOLATION;
+ break;
case FileBase::E_NOLCK: // No record locks available<br>
case FileBase::E_IO: // I/O error<br>
case FileBase::E_BADF: // Bad file<br>
case FileBase::E_FAULT: // Bad address<br>
- case FileBase::E_AGAIN: // Operation would block<br>
case FileBase::E_INTR: // function call was interrupted<br>
default:
ioErrorCode = IOErrorCode_GENERAL;