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

@@ -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