You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-04-13 14:42:51 -07:00
Change dependency order of ntdll-LZNT1_Compression and ntdll-RtlIpStringToAddress.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From bced9dedb0501192c6d7ac1bfcba0edb83964ade Mon Sep 17 00:00:00 2001
|
||||
From 0200b5ccf86d7b87846f4d8c98f9ac0775e810d8 Mon Sep 17 00:00:00 2001
|
||||
From: Mark Jansen <learn0more+wine@gmail.com>
|
||||
Date: Sun, 8 Mar 2015 18:24:45 +0100
|
||||
Subject: ntdll/tests: Tests for RtlIpv6StringToAddress (try 6)
|
||||
@@ -22,7 +22,7 @@ duplication
|
||||
1 file changed, 430 insertions(+)
|
||||
|
||||
diff --git a/dlls/ntdll/tests/rtl.c b/dlls/ntdll/tests/rtl.c
|
||||
index e8eb04a..8030c86 100644
|
||||
index 2f6c421..d4c83c2 100644
|
||||
--- a/dlls/ntdll/tests/rtl.c
|
||||
+++ b/dlls/ntdll/tests/rtl.c
|
||||
@@ -25,6 +25,7 @@
|
||||
@@ -43,10 +43,10 @@ index e8eb04a..8030c86 100644
|
||||
static NTSTATUS (WINAPI *pLdrLockLoaderLock)(ULONG, ULONG*, ULONG_PTR*);
|
||||
static NTSTATUS (WINAPI *pLdrUnlockLoaderLock)(ULONG, ULONG_PTR);
|
||||
+static NTSTATUS (WINAPI *pRtlMultiByteToUnicodeN)(LPWSTR, DWORD, LPDWORD, LPCSTR, DWORD);
|
||||
|
||||
static HMODULE hkernel32 = 0;
|
||||
static BOOL (WINAPI *pIsWow64Process)(HANDLE, PBOOL);
|
||||
@@ -136,9 +140,12 @@ static void InitFunctionPtrs(void)
|
||||
static NTSTATUS (WINAPI *pRtlGetCompressionWorkSpaceSize)(USHORT, PULONG, PULONG);
|
||||
static NTSTATUS (WINAPI *pRtlDecompressBuffer)(USHORT, PUCHAR, ULONG, const UCHAR*, ULONG, PULONG);
|
||||
static NTSTATUS (WINAPI *pRtlDecompressFragment)(USHORT, PUCHAR, ULONG, const UCHAR*, ULONG, ULONG, PULONG, PVOID);
|
||||
@@ -140,9 +144,12 @@ static void InitFunctionPtrs(void)
|
||||
pRtlIpv4AddressToStringA = (void *)GetProcAddress(hntdll, "RtlIpv4AddressToStringA");
|
||||
pRtlIpv4AddressToStringExA = (void *)GetProcAddress(hntdll, "RtlIpv4AddressToStringExA");
|
||||
pRtlIpv4StringToAddressA = (void *)GetProcAddress(hntdll, "RtlIpv4StringToAddressA");
|
||||
@@ -56,10 +56,10 @@ index e8eb04a..8030c86 100644
|
||||
pLdrLockLoaderLock = (void *)GetProcAddress(hntdll, "LdrLockLoaderLock");
|
||||
pLdrUnlockLoaderLock = (void *)GetProcAddress(hntdll, "LdrUnlockLoaderLock");
|
||||
+ pRtlMultiByteToUnicodeN = (void *)GetProcAddress(hntdll, "RtlMultiByteToUnicodeN");
|
||||
}
|
||||
hkernel32 = LoadLibraryA("kernel32.dll");
|
||||
ok(hkernel32 != 0, "LoadLibrary failed\n");
|
||||
@@ -1492,6 +1499,428 @@ static void test_RtlIpv4StringToAddress(void)
|
||||
pRtlGetCompressionWorkSpaceSize = (void *)GetProcAddress(hntdll, "RtlGetCompressionWorkSpaceSize");
|
||||
pRtlDecompressBuffer = (void *)GetProcAddress(hntdll, "RtlDecompressBuffer");
|
||||
pRtlDecompressFragment = (void *)GetProcAddress(hntdll, "RtlDecompressFragment");
|
||||
@@ -1500,6 +1507,428 @@ static void test_RtlIpv4StringToAddress(void)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -488,14 +488,14 @@ index e8eb04a..8030c86 100644
|
||||
static void test_LdrAddRefDll(void)
|
||||
{
|
||||
HMODULE mod, mod2;
|
||||
@@ -1623,6 +2052,7 @@ START_TEST(rtl)
|
||||
@@ -2360,6 +2789,7 @@ START_TEST(rtl)
|
||||
test_RtlIpv4AddressToString();
|
||||
test_RtlIpv4AddressToStringEx();
|
||||
test_RtlIpv4StringToAddress();
|
||||
+ test_RtlIpv6StringToAddress();
|
||||
test_LdrAddRefDll();
|
||||
test_LdrLockLoaderLock();
|
||||
}
|
||||
test_RtlGetCompressionWorkSpaceSize();
|
||||
--
|
||||
2.3.1
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
From 61f51c445a223aaceb0b404f4c13eda296133f25 Mon Sep 17 00:00:00 2001
|
||||
From 486707397ce18ce3f92f0ffbc388626312d9f952 Mon Sep 17 00:00:00 2001
|
||||
From: Mark Jansen <learn0more+wine@gmail.com>
|
||||
Date: Sun, 8 Mar 2015 18:24:50 +0100
|
||||
Subject: ntdll/tests: Tests for RtlIpv6StringToAddressEx (try 6)
|
||||
@@ -21,7 +21,7 @@ Changes from try3:
|
||||
1 file changed, 268 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dlls/ntdll/tests/rtl.c b/dlls/ntdll/tests/rtl.c
|
||||
index 8030c86..5d789d1 100644
|
||||
index d4c83c2..b389d6f 100644
|
||||
--- a/dlls/ntdll/tests/rtl.c
|
||||
+++ b/dlls/ntdll/tests/rtl.c
|
||||
@@ -92,6 +92,8 @@ static NTSTATUS (WINAPI *pRtlIpv4AddressToStringExA)(const IN_ADDR *, USHORT, L
|
||||
@@ -33,7 +33,7 @@ index 8030c86..5d789d1 100644
|
||||
static NTSTATUS (WINAPI *pLdrAddRefDll)(ULONG, HMODULE);
|
||||
static NTSTATUS (WINAPI *pLdrLockLoaderLock)(ULONG, ULONG*, ULONG_PTR*);
|
||||
static NTSTATUS (WINAPI *pLdrUnlockLoaderLock)(ULONG, ULONG_PTR);
|
||||
@@ -142,6 +144,8 @@ static void InitFunctionPtrs(void)
|
||||
@@ -146,6 +148,8 @@ static void InitFunctionPtrs(void)
|
||||
pRtlIpv4StringToAddressA = (void *)GetProcAddress(hntdll, "RtlIpv4StringToAddressA");
|
||||
pRtlIpv6StringToAddressA = (void *)GetProcAddress(hntdll, "RtlIpv6StringToAddressA");
|
||||
pRtlIpv6StringToAddressW = (void *)GetProcAddress(hntdll, "RtlIpv6StringToAddressW");
|
||||
@@ -42,7 +42,7 @@ index 8030c86..5d789d1 100644
|
||||
pLdrAddRefDll = (void *)GetProcAddress(hntdll, "LdrAddRefDll");
|
||||
pLdrLockLoaderLock = (void *)GetProcAddress(hntdll, "LdrLockLoaderLock");
|
||||
pLdrUnlockLoaderLock = (void *)GetProcAddress(hntdll, "LdrUnlockLoaderLock");
|
||||
@@ -1775,7 +1779,6 @@ static const struct
|
||||
@@ -1783,7 +1787,6 @@ static const struct
|
||||
};
|
||||
const unsigned int ipv6_testcount = sizeof(ipv6_tests) / sizeof(ipv6_tests[0]);
|
||||
|
||||
@@ -50,7 +50,7 @@ index 8030c86..5d789d1 100644
|
||||
static void init_ip6(IN6_ADDR* addr, const int src[8])
|
||||
{
|
||||
unsigned int j;
|
||||
@@ -1921,6 +1924,269 @@ static void test_RtlIpv6StringToAddress(void)
|
||||
@@ -1929,6 +1932,269 @@ static void test_RtlIpv6StringToAddress(void)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -320,14 +320,14 @@ index 8030c86..5d789d1 100644
|
||||
static void test_LdrAddRefDll(void)
|
||||
{
|
||||
HMODULE mod, mod2;
|
||||
@@ -2053,6 +2319,7 @@ START_TEST(rtl)
|
||||
@@ -2790,6 +3056,7 @@ START_TEST(rtl)
|
||||
test_RtlIpv4AddressToStringEx();
|
||||
test_RtlIpv4StringToAddress();
|
||||
test_RtlIpv6StringToAddress();
|
||||
+ test_RtlIpv6StringToAddressEx();
|
||||
test_LdrAddRefDll();
|
||||
test_LdrLockLoaderLock();
|
||||
}
|
||||
test_RtlGetCompressionWorkSpaceSize();
|
||||
--
|
||||
2.3.1
|
||||
|
||||
|
1
patches/ntdll-RtlIpStringToAddress/definition
Normal file
1
patches/ntdll-RtlIpStringToAddress/definition
Normal file
@@ -0,0 +1 @@
|
||||
Depends: ntdll-LZNT1_Compression
|
Reference in New Issue
Block a user