1
0
Fork 0
libreoffice/external/postgresql/windows.patch.0
Daniel Baumann 8e63e14cf6
Adding upstream version 4:25.2.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 16:20:04 +02:00

11 lines
310 B
Text

--- src/port/chklocale.c
+++ src/port/chklocale.c
@@ -220,7 +220,7 @@
{
r = malloc(16); /* excess */
if (r != NULL)
- sprintf(r, "CP%u", loct->locinfo->lc_codepage);
+ sprintf(r, "CP%u", ((struct __crt_locale_data_public *) loct->locinfo)->_locale_lc_codepage);
_free_locale(loct);
}
#else