Qian Hong : server: Map EXDEV to STATUS_NOT_SAME_DEVICE.

Alexandre Julliard julliard at winehq.org
Thu Sep 13 03:49:14 CDT 2018


Module: wine
Branch: stable
Commit: d1ea82b97ead5b482de2ac4d4bd4df9bbbbd92ca
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=d1ea82b97ead5b482de2ac4d4bd4df9bbbbd92ca

Author: Qian Hong <qhong at codeweavers.com>
Date:   Fri May 11 04:42:48 2018 +0000

server: Map EXDEV to STATUS_NOT_SAME_DEVICE.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit 9ec4b572f8ce388fbc19eae70573f8c6d1c984bd)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>

---

 server/file.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/server/file.c b/server/file.c
index 390b072..446621a 100644
--- a/server/file.c
+++ b/server/file.c
@@ -671,6 +671,7 @@ void file_set_error(void)
     case EFBIG:     set_error( STATUS_SECTION_TOO_BIG ); break;
     case ENODEV:    set_error( STATUS_NO_SUCH_DEVICE ); break;
     case ENXIO:     set_error( STATUS_NO_SUCH_DEVICE ); break;
+    case EXDEV:     set_error( STATUS_NOT_SAME_DEVICE ); break;
 #ifdef EOVERFLOW
     case EOVERFLOW: set_error( STATUS_INVALID_PARAMETER ); break;
 #endif




More information about the wine-cvs mailing list