Removed patch to increase wineconsole commandline buffer size (fixed upstream).

This commit is contained in:
Sebastian Lackner 2015-04-14 19:11:31 +02:00
parent 2bb0477ca0
commit 96325cabed
5 changed files with 2 additions and 46 deletions

View File

@ -189,7 +189,7 @@ for more details.*
* Improve stubs for AEV_{Get,Set}MasterVolumeLevel
* Improve stubs for AEV_{Get,Set}Mute
* Improvement for heap allocation performance
* Increase wineconsole commandline buffer size ([Wine Bug #34814](https://bugs.winehq.org/show_bug.cgi?id=34814))
* ~~Increase wineconsole commandline buffer size~~ ([Wine Bug #34814](https://bugs.winehq.org/show_bug.cgi?id=34814))
* ~~Invalidate key state cache globally after calling LL hooks~~ ([Wine Bug #29871](https://bugs.winehq.org/show_bug.cgi?id=29871))
* Jedi Knight: Dark Forces II crashes with winmm set to native ([Wine Bug #37983](https://bugs.winehq.org/show_bug.cgi?id=37983))
* Lego Stunt Rally requires DXTn software de/encoding support ([Wine Bug #25486](https://bugs.winehq.org/show_bug.cgi?id=25486))

1
debian/changelog vendored
View File

@ -18,6 +18,7 @@ wine-staging (1.7.41) UNRELEASED; urgency=low
* Removed patchset to invalidate the key state cache after calling LL hooks (accepted upstream).
* Removed patches for PowerRequest stub functions (accepted upstream).
* Removed patch to fix compatibility with gnutls28 (accepted upstream).
* Removed patch to increase wineconsole commandline buffer size (fixed upstream).
-- Sebastian Lackner <sebastian@fds-team.de> Sun, 05 Apr 2015 03:11:58 +0200
wine-staging (1.7.40) unstable; urgency=low

View File

@ -221,7 +221,6 @@ patch_enable_all ()
enable_winecfg_Libraries="$1"
enable_winecfg_Staging="$1"
enable_winecfg_Unmounted_Devices="$1"
enable_wineconsole_Buffer_Size="$1"
enable_wined3d_CSMT_Helper="$1"
enable_wined3d_CSMT_Main="$1"
enable_wined3d_DXTn="$1"
@ -732,9 +731,6 @@ patch_enable ()
winecfg-Unmounted_Devices)
enable_winecfg_Unmounted_Devices="$2"
;;
wineconsole-Buffer_Size)
enable_wineconsole_Buffer_Size="$2"
;;
wined3d-CSMT_Helper)
enable_wined3d_CSMT_Helper="$2"
;;
@ -4522,21 +4518,6 @@ if test "$enable_winecfg_Unmounted_Devices" -eq 1; then
) >> "$patchlist"
fi
# Patchset wineconsole-Buffer_Size
# |
# | This patchset fixes the following Wine bugs:
# | * [#34814] Increase wineconsole commandline buffer size
# |
# | Modified files:
# | * programs/wineconsole/wineconsole.c
# |
if test "$enable_wineconsole_Buffer_Size" -eq 1; then
patch_apply wineconsole-Buffer_Size/0001-wineconsole-Increase-buffer-to-allow-larger-commandl.patch
(
echo '+ { "Sebastian Lackner", "wineconsole: Increase buffer to allow larger commandline strings.", 1 },';
) >> "$patchlist"
fi
# Patchset winedevice-Fix_Relocation
# |
# | This patchset fixes the following Wine bugs:

View File

@ -1,25 +0,0 @@
From a98938b7cea50114a55f24e608581dc27eac9cab Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Wed, 4 Mar 2015 21:16:58 +0100
Subject: wineconsole: Increase buffer to allow larger commandline strings.
---
programs/wineconsole/wineconsole.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/wineconsole/wineconsole.c b/programs/wineconsole/wineconsole.c
index 3c2faf5..038b360 100644
--- a/programs/wineconsole/wineconsole.c
+++ b/programs/wineconsole/wineconsole.c
@@ -830,7 +830,7 @@ int PASCAL WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpCmdLine, INT nCmdSh
break;
case from_process_name:
{
- WCHAR buffer[256];
+ static WCHAR buffer[4096];
MultiByteToWideChar(CP_ACP, 0, wci.ptr, -1, buffer, sizeof(buffer) / sizeof(buffer[0]));
--
2.3.0

View File

@ -1 +0,0 @@
Fixes: [34814] Increase wineconsole commandline buffer size