You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-09-12 18:50:20 -07:00
Rebase against 4e2ad334b5881af7661be4d6df3c51aae92ca4a2
This commit is contained in:
committed by
Zebediah Figura
parent
d4918b4305
commit
76ba9d2387
@@ -1,4 +1,4 @@
|
||||
From f2ecf7649cac98316c6e7345c78c66b7afce4b27 Mon Sep 17 00:00:00 2001
|
||||
From 944dfc453626ecd2e8856e6122164b96636a9999 Mon Sep 17 00:00:00 2001
|
||||
From: Alex Henrie <alexhenrie24@gmail.com>
|
||||
Date: Tue, 7 Apr 2020 21:22:52 -0600
|
||||
Subject: [PATCH] ntdll: Implement RtlIpv6StringToAddress(Ex)[AW]
|
||||
@@ -6,14 +6,14 @@ Subject: [PATCH] ntdll: Implement RtlIpv6StringToAddress(Ex)[AW]
|
||||
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
|
||||
---
|
||||
dlls/ntdll/ntdll.spec | 6 +-
|
||||
dlls/ntdll/rtl.c | 221 +++++++++++++++++++++++++++++++++++++++---
|
||||
2 files changed, 213 insertions(+), 14 deletions(-)
|
||||
dlls/ntdll/rtl.c | 222 +++++++++++++++++++++++++++++++++++++++---
|
||||
2 files changed, 213 insertions(+), 15 deletions(-)
|
||||
|
||||
diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec
|
||||
index e61a2578da..b887e82b47 100644
|
||||
index ffabd55b6dba..a88889f5d4ac 100644
|
||||
--- a/dlls/ntdll/ntdll.spec
|
||||
+++ b/dlls/ntdll/ntdll.spec
|
||||
@@ -781,10 +781,10 @@
|
||||
@@ -782,10 +782,10 @@
|
||||
# @ stub RtlIpv6AddressToStringExA
|
||||
# @ stub RtlIpv6AddressToStringExW
|
||||
# @ stub RtlIpv6AddressToStringW
|
||||
@@ -28,13 +28,21 @@ index e61a2578da..b887e82b47 100644
|
||||
@ stdcall RtlIsCriticalSectionLocked(ptr)
|
||||
@ stdcall RtlIsCriticalSectionLockedByThread(ptr)
|
||||
diff --git a/dlls/ntdll/rtl.c b/dlls/ntdll/rtl.c
|
||||
index 64853369a3..a4e220bcf2 100644
|
||||
index ee33e3d82b16..e3311c06ba69 100644
|
||||
--- a/dlls/ntdll/rtl.c
|
||||
+++ b/dlls/ntdll/rtl.c
|
||||
@@ -97,6 +97,16 @@ static const DWORD CRC_table[256] =
|
||||
@@ -97,7 +97,6 @@ static const DWORD CRC_table[256] =
|
||||
0xb40bbe37, 0xc30c8ea1, 0x5a05df1b, 0x2d02ef8d
|
||||
};
|
||||
|
||||
-
|
||||
#if defined(_WIN64) && !defined(_MSC_VER)
|
||||
static inline unsigned char _InterlockedCompareExchange128(__int64 *dest, __int64 xchg_high, __int64 xchg_low, __int64 *compare)
|
||||
{
|
||||
@@ -116,6 +115,16 @@ static inline unsigned char _InterlockedCompareExchange128(__int64 *dest, __int6
|
||||
}
|
||||
#endif
|
||||
|
||||
+static const int hex_table[] = {
|
||||
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, /* 0x00-0x0F */
|
||||
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, /* 0x10-0x1F */
|
||||
@@ -48,7 +56,7 @@ index 64853369a3..a4e220bcf2 100644
|
||||
/*
|
||||
* resource functions
|
||||
*/
|
||||
@@ -885,15 +895,6 @@ void WINAPI RtlCopyLuidAndAttributesArray(
|
||||
@@ -904,15 +913,6 @@ void WINAPI RtlCopyLuidAndAttributesArray(
|
||||
|
||||
static BOOL parse_ipv4_component(const WCHAR **str, BOOL strict, ULONG *value)
|
||||
{
|
||||
@@ -64,7 +72,7 @@ index 64853369a3..a4e220bcf2 100644
|
||||
int base = 10, d;
|
||||
WCHAR c;
|
||||
ULONG cur_value, prev_value = 0;
|
||||
@@ -1073,13 +1074,211 @@ NTSTATUS WINAPI RtlIpv4StringToAddressA(const char *str, BOOLEAN strict, const c
|
||||
@@ -1092,13 +1092,211 @@ NTSTATUS WINAPI RtlIpv4StringToAddressA(const char *str, BOOLEAN strict, const c
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -279,5 +287,5 @@ index 64853369a3..a4e220bcf2 100644
|
||||
|
||||
/***********************************************************************
|
||||
--
|
||||
2.26.0
|
||||
2.26.2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user