server: Map ETXTBSY to STATUS_SHARING_VIOLATION.

This commit is contained in:
Dmitry Timoshkov 2007-09-11 13:07:29 +09:00 committed by Alexandre Julliard
parent 9d2c6e78f2
commit c75edd04c2
1 changed files with 1 additions and 0 deletions

View File

@ -286,6 +286,7 @@ void file_set_error(void)
{
switch (errno)
{
case ETXTBSY:
case EAGAIN: set_error( STATUS_SHARING_VIOLATION ); break;
case EBADF: set_error( STATUS_INVALID_HANDLE ); break;
case ENOSPC: set_error( STATUS_DISK_FULL ); break;