From 1d8ae0c040319ba7d969fa236b7a6bb22d0f55df Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Fri, 5 Jul 2013 00:11:53 +0200 Subject: 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 --- sal/osl/w32/file_error.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sal') 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 */ -- cgit