From c75edd04c2c83a9caf2df81502e807ccb96e744b Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Tue, 11 Sep 2007 13:07:29 +0900 Subject: [PATCH] server: Map ETXTBSY to STATUS_SHARING_VIOLATION. --- server/file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/server/file.c b/server/file.c index 0932414cb78..a8152daaf2c 100644 --- a/server/file.c +++ b/server/file.c @@ -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;