server: Map ETXTBSY to STATUS_SHARING_VIOLATION.
This commit is contained in:
parent
9d2c6e78f2
commit
c75edd04c2
|
@ -286,6 +286,7 @@ void file_set_error(void)
|
||||||
{
|
{
|
||||||
switch (errno)
|
switch (errno)
|
||||||
{
|
{
|
||||||
|
case ETXTBSY:
|
||||||
case EAGAIN: set_error( STATUS_SHARING_VIOLATION ); break;
|
case EAGAIN: set_error( STATUS_SHARING_VIOLATION ); break;
|
||||||
case EBADF: set_error( STATUS_INVALID_HANDLE ); break;
|
case EBADF: set_error( STATUS_INVALID_HANDLE ); break;
|
||||||
case ENOSPC: set_error( STATUS_DISK_FULL ); break;
|
case ENOSPC: set_error( STATUS_DISK_FULL ); break;
|
||||||
|
|
Loading…
Reference in New Issue