Module: wine
Branch: master
Commit: 18c3c2c78b245352bc9e297bb59f905352242af1
URL: https://source.winehq.org/git/wine.git/?a=commit;h=18c3c2c78b245352bc9e297b…
Author: Zebediah Figura <z.figura12(a)gmail.com>
Date: Sun Dec 15 14:03:02 2019 -0600
ntdll: Return -1 from Unix code page conversion functions if an error was encountered.
If 0 is returned, the caller has no way of determining this. This fixes a
test failure in kernel32:change introduced by f46fa9c92.
Signed-off-by: Zebediah Figura <z.figura12(a)gmail.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/ntdll/locale.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/ntdll/locale.c b/dlls/ntdll/locale.c
index 4c95169366..d9e4e8086e 100644
--- a/dlls/ntdll/locale.c
+++ b/dlls/ntdll/locale.c
@@ -643,7 +643,7 @@ int ntdll_umbstowcs( DWORD flags, const char *src, int srclen, WCHAR *dst, int d
if (!dstlen) dst = NULL;
status = RtlUTF8ToUnicodeN( dst, dstlen * sizeof(WCHAR), &reslen, src, srclen );
- if (status && status != STATUS_SOME_NOT_MAPPED) return 0;
+ if (status && status != STATUS_SOME_NOT_MAPPED) return -1;
reslen /= sizeof(WCHAR);
#ifdef __APPLE__ /* work around broken Mac OS X filesystem that enforces decomposed Unicode */
if (reslen && dst) RtlNormalizeString( NormalizationC, dst, reslen, dst, (int *)&reslen );
@@ -666,7 +666,7 @@ int ntdll_wcstoumbs( DWORD flags, const WCHAR *src, int srclen, char *dst, int d
if (used) *used = 0; /* all chars are valid for UTF-8 */
if (!dstlen) dst = NULL;
status = RtlUnicodeToUTF8N( dst, dstlen, &reslen, src, srclen * sizeof(WCHAR) );
- if (status && status != STATUS_SOME_NOT_MAPPED) return 0;
+ if (status && status != STATUS_SOME_NOT_MAPPED) return -1;
return reslen;
}
Module: website
Branch: master
Commit: c5a937c85c16215e8d556d1b368451766ebf8c3a
URL: https://source.winehq.org/git/website.git/?a=commit;h=c5a937c85c16215e8d556…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Fri Dec 13 22:27:40 2019 +0100
Wine release 5.0-rc1
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
news/en/2019121301.xml | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/news/en/2019121301.xml b/news/en/2019121301.xml
new file mode 100644
index 00000000..6cd34b5b
--- /dev/null
+++ b/news/en/2019121301.xml
@@ -0,0 +1,19 @@
+<news>
+<date>December 13, 2019</date>
+<title>Wine 5.0-rc1 Released</title>
+<body>
+<p> The Wine development release 5.0-rc1 is now available.</p>
+<p> This is the first release candidate for the upcoming Wine 5.0. It marks the beginning of the yearly code freeze period. Please give this release a good testing to help us make 5.0 as good as possible.</p>
+<p> <a href="{$root}/announce/5.0-rc1">What's new</a> in this release:
+<ul>
+ <li>Gecko update, with support for running from a global location.</li>
+ <li>Unicode data updated to Unicode version 12.1.</li>
+ <li>Initial version of the MSADO (ActiveX Data Objects) library.</li>
+ <li>Update installation support in the WUSA (Windows Update Standalone) tool.</li>
+ <li>More progress on the kernel32/kernelbase restructuring.</li>
+ <li>Support for signing with ECDSA keys.</li>
+ <li>Various bug fixes.</li>
+</ul>
+<p>The source is <a href="//dl.winehq.org/wine/source/5.0/wine-5.0-rc1.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>