Module: website
Branch: master
Commit: a827f9fad7b3827c507d964c96ba3ccebdbbe5d4
URL: https://gitlab.winehq.org/winehq/winehq/-/commit/a827f9fad7b3827c507d964c96…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Sat Nov 26 00:29:47 2022 +0100
Wine release 7.22
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
news/en/2022112601.xml | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/news/en/2022112601.xml b/news/en/2022112601.xml
new file mode 100644
index 00000000..58fe4e44
--- /dev/null
+++ b/news/en/2022112601.xml
@@ -0,0 +1,17 @@
+<news>
+<date>November 26, 2022</date>
+<title>Wine 7.22 Released</title>
+<body>
+<p> The Wine development release 7.22 is now available.</p>
+<p> <a href="{$root}/announce/7.22">What's new</a> in this release:
+<ul>
+ <li>32-on-64 thunks for both Vulkan and OpenGL.</li>
+ <li>OpenLDAP library bundled and built as PE.</li>
+ <li>Support for the RAW print processor in WinPrint.</li>
+ <li>More progress on the long types printf format conversion.</li>
+ <li>Various bug fixes.</li>
+</ul>
+</p>
+<p>The source is <a href="//dl.winehq.org/wine/source/7.x/wine-7.22.tar.xz">available now</a>.
+Binary packages are in the process of being built, and will appear soon at their respective <a href="{$root}/download">download locations</a>.
+</p></body></news>
Module: wine
Branch: master
Commit: f2ca35bd806205b841d11b1079e44ec65c5b9076
URL: https://gitlab.winehq.org/wine/wine/-/commit/f2ca35bd806205b841d11b1079e44e…
Author: Eric Pouech <eric.pouech(a)gmail.com>
Date: Fri Nov 25 10:43:41 2022 +0100
cmd: Use OEM code page when reading a file.
Calling GetConsoleCP() when ReadConsoleW() fails (potentially indicating
that cmd.exe's instance isn't attached to a console) makes no sense.
In details, since GetConsoleCP() returns 0 when not attached to a console
to indicate error, we're in fact using CP_ACP.
So fallback explicitely to OEM CP (which is the default for CUI programs).
Signed-off-by: Eric Pouech <eric.pouech(a)gmail.com>
---
programs/cmd/batch.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/cmd/batch.c b/programs/cmd/batch.c
index 9a262c5fec5..beecccfe926 100644
--- a/programs/cmd/batch.c
+++ b/programs/cmd/batch.c
@@ -255,7 +255,7 @@ WCHAR *WCMD_fgets(WCHAR *buf, DWORD noChars, HANDLE h)
UINT cp;
const char *p;
- cp = GetConsoleCP();
+ cp = GetOEMCP();
bufA = heap_xalloc(noChars);
/* Save current file position */