mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
Added patch to fix implementation of krnl386.exe16.GetTempDrive.
This commit is contained in:
parent
3fe5ad7aef
commit
b1ede54d23
@ -39,11 +39,12 @@ Wine. All those differences are also documented on the
|
||||
Included bug fixes and improvements
|
||||
-----------------------------------
|
||||
|
||||
**Bug fixes and features included in the next upcoming release [10]:**
|
||||
**Bug fixes and features included in the next upcoming release [11]:**
|
||||
|
||||
* Add IDragSourceHelper stub interface ([Wine Bug #24699](https://bugs.winehq.org/show_bug.cgi?id=24699))
|
||||
* Catch invalid memory accesses in imagehlp.CheckSumMappedFile
|
||||
* Fix detection of case-insensitive systems in MSYS2
|
||||
* Fix implementation of krnl386.exe16.GetTempDrive ([Wine Bug #39104](https://bugs.winehq.org/show_bug.cgi?id=39104))
|
||||
* Implement enumeration of sound devices and basic properties to dxdiagn ([Wine Bug #32613](https://bugs.winehq.org/show_bug.cgi?id=32613))
|
||||
* Implement shell32 NewMenu class with new folder item ([Wine Bug #24812](https://bugs.winehq.org/show_bug.cgi?id=24812))
|
||||
* Implement special handling for calling GetChildContainer with an empty string ([Wine Bug #38014](https://bugs.winehq.org/show_bug.cgi?id=38014))
|
||||
|
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -15,6 +15,7 @@ wine-staging (1.7.50) UNRELEASED; urgency=low
|
||||
* Added patch to report correct ObjectName for NamedPipe wineserver objects
|
||||
(fixes Wine Staging Bug #363).
|
||||
* Added patch fix detection of case-insensitive systems in MSYS2.
|
||||
* Added patch to fix implementation of krnl386.exe16.GetTempDrive.
|
||||
* Removed patch to move security cookie initialization from memory management
|
||||
to loader (accepted upstream).
|
||||
* Removed patches for stub of D3DCompileFromFile and D3DCompile2 (accepted
|
||||
|
@ -0,0 +1,29 @@
|
||||
From 97e522d70d8f94fe8af1baa4a1c49f5956df3caf Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
||||
Date: Tue, 18 Aug 2015 21:33:58 +0200
|
||||
Subject: krnl386.exe16: Increase buffer size in GetTempDrive.
|
||||
|
||||
---
|
||||
dlls/krnl386.exe16/file.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/dlls/krnl386.exe16/file.c b/dlls/krnl386.exe16/file.c
|
||||
index 6c3cef3..77908c2 100644
|
||||
--- a/dlls/krnl386.exe16/file.c
|
||||
+++ b/dlls/krnl386.exe16/file.c
|
||||
@@ -461,10 +461,10 @@ LONG WINAPI _hwrite16( HFILE16 hFile, LPCSTR buffer, LONG count )
|
||||
*/
|
||||
UINT WINAPI GetTempDrive( BYTE ignored )
|
||||
{
|
||||
- WCHAR buffer[8];
|
||||
+ WCHAR buffer[MAX_PATH];
|
||||
BYTE ret;
|
||||
|
||||
- if (GetTempPathW( 8, buffer )) ret = (BYTE)toupperW(buffer[0]);
|
||||
+ if (GetTempPathW( MAX_PATH, buffer )) ret = (BYTE)toupperW(buffer[0]);
|
||||
else ret = 'C';
|
||||
return MAKELONG( ret | (':' << 8), 1 );
|
||||
}
|
||||
--
|
||||
2.5.0
|
||||
|
1
patches/krnl386.exe16-GetTempDrive/definition
Normal file
1
patches/krnl386.exe16-GetTempDrive/definition
Normal file
@ -0,0 +1 @@
|
||||
Fixes: [39104] Fix implementation of krnl386.exe16.GetTempDrive
|
@ -147,6 +147,7 @@ patch_enable_all ()
|
||||
enable_kernel32_SetFileInformationByHandle="$1"
|
||||
enable_kernel32_TimezoneInformation_Registry="$1"
|
||||
enable_kernel32_VerifyVersionInfo="$1"
|
||||
enable_krnl386_exe16_GetTempDrive="$1"
|
||||
enable_libs_Debug_Channel="$1"
|
||||
enable_libs_Unicode_Collation="$1"
|
||||
enable_makedep_PARENTSPEC="$1"
|
||||
@ -528,6 +529,9 @@ patch_enable ()
|
||||
kernel32-VerifyVersionInfo)
|
||||
enable_kernel32_VerifyVersionInfo="$2"
|
||||
;;
|
||||
krnl386.exe16-GetTempDrive)
|
||||
enable_krnl386_exe16_GetTempDrive="$2"
|
||||
;;
|
||||
libs-Debug_Channel)
|
||||
enable_libs_Debug_Channel="$2"
|
||||
;;
|
||||
@ -3420,6 +3424,21 @@ if test "$enable_kernel32_VerifyVersionInfo" -eq 1; then
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset krnl386.exe16-GetTempDrive
|
||||
# |
|
||||
# | This patchset fixes the following Wine bugs:
|
||||
# | * [#39104] Fix implementation of krnl386.exe16.GetTempDrive
|
||||
# |
|
||||
# | Modified files:
|
||||
# | * dlls/krnl386.exe16/file.c
|
||||
# |
|
||||
if test "$enable_krnl386_exe16_GetTempDrive" -eq 1; then
|
||||
patch_apply krnl386.exe16-GetTempDrive/0001-krnl386.exe16-Increase-buffer-size-in-GetTempDrive.patch
|
||||
(
|
||||
echo '+ { "Michael Müller", "krnl386.exe16: Increase buffer size in GetTempDrive.", 1 },';
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset libs-Debug_Channel
|
||||
# |
|
||||
# | Modified files:
|
||||
|
Loading…
Reference in New Issue
Block a user