summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-07-05 00:11:53 +0200
committerMichael Stahl <mstahl@redhat.com>2013-07-05 00:13:46 +0200
commit1d8ae0c040319ba7d969fa236b7a6bb22d0f55df (patch)
tree6fe6b2e133dc765095b288d1633bd80b9548685e /sal
parentd68de5195605bd9236851e0714dd9b03b0f5f3be (diff)
sal: add ERROR_SHARING_VIOLATION to win32 error table
It's apparently a popular error; map it to E_ACCES which is the same as the catch-all clause does (for compatibility). Change-Id: I55fd932248a2ecbacd4fd6584e92918da95e3cff
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/w32/file_error.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sal/osl/w32/file_error.c b/sal/osl/w32/file_error.c
index 505cde559f09..f1cd9ceab9e8 100644
--- a/sal/osl/w32/file_error.c
+++ b/sal/osl/w32/file_error.c
@@ -55,6 +55,7 @@ static const struct osl_file_error_entry errtable[] = {
{ ERROR_NOT_SAME_DEVICE, osl_File_E_XDEV }, /* 17 */
{ ERROR_NO_MORE_FILES, osl_File_E_NOENT }, /* 18 */
{ ERROR_NOT_READY, osl_File_E_NOTREADY }, /* 21 */
+ { ERROR_SHARING_VIOLATION, osl_File_E_ACCES }, /* 32 */
{ ERROR_LOCK_VIOLATION, osl_File_E_ACCES }, /* 33 */
{ ERROR_BAD_NETPATH, osl_File_E_NOENT }, /* 53 */
{ ERROR_NETWORK_ACCESS_DENIED, osl_File_E_ACCES }, /* 65 */