mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-09-13 09:17:20 -07:00
Added patch to map EXDEV error code to STATUS_NOT_SAME_DEVICE.
This commit is contained in:
parent
5b28f7a01c
commit
4e0bdd2c9b
@ -39,9 +39,10 @@ Wine. All those differences are also documented on the
|
||||
Included bug fixes and improvements
|
||||
-----------------------------------
|
||||
|
||||
**Bug fixes and features included in the next upcoming release [2]:**
|
||||
**Bug fixes and features included in the next upcoming release [3]:**
|
||||
|
||||
* Fix access violation in MSYS2 git when cloning repository
|
||||
* Map EXDEV error code to STATUS_NOT_SAME_DEVICE
|
||||
* Return a dummy BIOS name in Win32_BIOS record
|
||||
|
||||
|
||||
|
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -6,6 +6,7 @@ wine-staging (1.7.51) UNRELEASED; urgency=low
|
||||
* Added patch to return a dummy BIOS name in Win32_BIOS record (fixes Wine
|
||||
Staging Bug #528).
|
||||
* Added patch to fix compile failure in d3d11 with recent versions of gcc.
|
||||
* Added patch to map EXDEV error code to STATUS_NOT_SAME_DEVICE.
|
||||
* Removed patch to fix bug in wineserver debug_children inheritance (accepted
|
||||
upstream).
|
||||
* Removed patch to use helper function for NtWaitForMultipleObjects and
|
||||
|
@ -223,6 +223,7 @@ patch_enable_all ()
|
||||
enable_server_File_Permissions="$1"
|
||||
enable_server_Inherited_ACLs="$1"
|
||||
enable_server_Key_State="$1"
|
||||
enable_server_Map_EXDEV_Error="$1"
|
||||
enable_server_Misc_ACL="$1"
|
||||
enable_server_OpenProcess="$1"
|
||||
enable_server_PeekMessage="$1"
|
||||
@ -747,6 +748,9 @@ patch_enable ()
|
||||
server-Key_State)
|
||||
enable_server_Key_State="$2"
|
||||
;;
|
||||
server-Map_EXDEV_Error)
|
||||
enable_server_Map_EXDEV_Error="$2"
|
||||
;;
|
||||
server-Misc_ACL)
|
||||
enable_server_Misc_ACL="$2"
|
||||
;;
|
||||
@ -4492,6 +4496,18 @@ if test "$enable_server_Key_State" -eq 1; then
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset server-Map_EXDEV_Error
|
||||
# |
|
||||
# | Modified files:
|
||||
# | * server/file.c
|
||||
# |
|
||||
if test "$enable_server_Map_EXDEV_Error" -eq 1; then
|
||||
patch_apply server-Map_EXDEV_Error/0001-server-Map-EXDEV-to-STATUS_NOT_SAME_DEVICE.patch
|
||||
(
|
||||
echo '+ { "Qian Hong", "server: Map EXDEV to STATUS_NOT_SAME_DEVICE.", 1 },';
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset server-OpenProcess
|
||||
# |
|
||||
# | This patchset fixes the following Wine bugs:
|
||||
|
@ -0,0 +1,24 @@
|
||||
From 10c4be44f7321c54dd01785ba31799f89530ae1b Mon Sep 17 00:00:00 2001
|
||||
From: Qian Hong <qhong@codeweavers.com>
|
||||
Date: Fri, 28 Aug 2015 12:02:36 +0800
|
||||
Subject: server: Map EXDEV to STATUS_NOT_SAME_DEVICE.
|
||||
|
||||
---
|
||||
server/file.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/server/file.c b/server/file.c
|
||||
index a07ca16..4481b8c 100644
|
||||
--- a/server/file.c
|
||||
+++ b/server/file.c
|
||||
@@ -661,6 +661,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
|
||||
--
|
||||
2.5.0
|
||||
|
1
patches/server-Map_EXDEV_Error/definition
Normal file
1
patches/server-Map_EXDEV_Error/definition
Normal file
@ -0,0 +1 @@
|
||||
Fixes: Map EXDEV error code to STATUS_NOT_SAME_DEVICE
|
Loading…
Reference in New Issue
Block a user