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
Added patch with stub for ntdll.RtlQueryPackageIdentity.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 14cab3188b8f83081a686892d94594a30abebf14 Mon Sep 17 00:00:00 2001
|
||||
From 34d880216777154f9fef645795783a6deaddf2f8 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 4903790..47acfe9 100644
|
||||
index ac463c6..657c1ae 100644
|
||||
--- a/dlls/ntdll/tests/rtl.c
|
||||
+++ b/dlls/ntdll/tests/rtl.c
|
||||
@@ -25,6 +25,7 @@
|
||||
@@ -30,10 +30,10 @@ index 4903790..47acfe9 100644
|
||||
#include "ntdll_test.h"
|
||||
#include "inaddr.h"
|
||||
+#include "in6addr.h"
|
||||
|
||||
#ifndef __WINE_WINTERNL_H
|
||||
|
||||
@@ -89,9 +90,12 @@ static IMAGE_BASE_RELOCATION *(WINAPI *pLdrProcessRelocationBlock)(void*,UINT,US
|
||||
#include "initguid.h"
|
||||
#define COBJMACROS
|
||||
#include "shobjidl.h"
|
||||
@@ -92,9 +93,12 @@ static IMAGE_BASE_RELOCATION *(WINAPI *pLdrProcessRelocationBlock)(void*,UINT,US
|
||||
static CHAR * (WINAPI *pRtlIpv4AddressToStringA)(const IN_ADDR *, LPSTR);
|
||||
static NTSTATUS (WINAPI *pRtlIpv4AddressToStringExA)(const IN_ADDR *, USHORT, LPSTR, PULONG);
|
||||
static NTSTATUS (WINAPI *pRtlIpv4StringToAddressA)(PCSTR, BOOLEAN, PCSTR *, IN_ADDR *);
|
||||
@@ -46,7 +46,7 @@ index 4903790..47acfe9 100644
|
||||
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)
|
||||
@@ -146,9 +150,12 @@ static void InitFunctionPtrs(void)
|
||||
pRtlIpv4AddressToStringA = (void *)GetProcAddress(hntdll, "RtlIpv4AddressToStringA");
|
||||
pRtlIpv4AddressToStringExA = (void *)GetProcAddress(hntdll, "RtlIpv4AddressToStringExA");
|
||||
pRtlIpv4StringToAddressA = (void *)GetProcAddress(hntdll, "RtlIpv4StringToAddressA");
|
||||
@@ -59,7 +59,7 @@ index 4903790..47acfe9 100644
|
||||
pRtlGetCompressionWorkSpaceSize = (void *)GetProcAddress(hntdll, "RtlGetCompressionWorkSpaceSize");
|
||||
pRtlDecompressBuffer = (void *)GetProcAddress(hntdll, "RtlDecompressBuffer");
|
||||
pRtlDecompressFragment = (void *)GetProcAddress(hntdll, "RtlDecompressFragment");
|
||||
@@ -1500,6 +1507,428 @@ static void test_RtlIpv4StringToAddress(void)
|
||||
@@ -1303,6 +1310,428 @@ static void test_RtlIpv4StringToAddress(void)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -488,7 +488,7 @@ index 4903790..47acfe9 100644
|
||||
static void test_LdrAddRefDll(void)
|
||||
{
|
||||
HMODULE mod, mod2;
|
||||
@@ -2186,6 +2615,7 @@ START_TEST(rtl)
|
||||
@@ -2155,6 +2584,7 @@ START_TEST(rtl)
|
||||
test_RtlIpv4AddressToString();
|
||||
test_RtlIpv4AddressToStringEx();
|
||||
test_RtlIpv4StringToAddress();
|
||||
@@ -497,5 +497,5 @@ index 4903790..47acfe9 100644
|
||||
test_LdrLockLoaderLock();
|
||||
test_RtlCompressBuffer();
|
||||
--
|
||||
2.4.5
|
||||
2.6.4
|
||||
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
Category: stable
|
||||
Depends: ntdll-RtlQueryPackageIdentity
|
||||
|
||||
Reference in New Issue
Block a user