Kaydet (Commit) 1d8ae0c0 authored tarafından Michael Stahl's avatar Michael Stahl

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
üst d68de519
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment