From 00598e49cfc1bdaf7ad0009b36de8a54bd5a70f0 Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Tue, 23 May 2006 12:24:55 +0100 Subject: [PATCH] rpcrt4: Uncomment test now that it works correctly. --- dlls/rpcrt4/tests/ndr_marshall.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/dlls/rpcrt4/tests/ndr_marshall.c b/dlls/rpcrt4/tests/ndr_marshall.c index f46832714de..3899867b6a9 100644 --- a/dlls/rpcrt4/tests/ndr_marshall.c +++ b/dlls/rpcrt4/tests/ndr_marshall.c @@ -496,13 +496,6 @@ todo_wine { Passing a NULL ptr while we're a client && !must_alloc crashes on Windows, so we won't do that. */ -#if 0 /* This unmarshal doesn't work correctly under Wine with a - pstruct (and worse trashes the buffer, so further tests - fail). When reusing the buffer the ptrs get overwritten with - newly alloc'ed ptrs. In Wine at the moment these get zero'ed - before the call to PointerUnmarshall in - EmbeddedPointerUnmarshall, this zeros the buffer ptrs, so - PointerUnmarshall thinks they're null-ptrs. */ mem = NULL; StubMsg.IsClient = 0; StubMsg.Buffer = StubMsg.BufferStart; @@ -513,7 +506,7 @@ todo_wine { ok(my_alloc_called == num_additional_allocs, "%s: my_alloc got called %d times\n", msgpfx, my_alloc_called); my_alloc_called = 0; ok(StubMsg.MemorySize == 0, "%s: memorysize touched in unmarshal\n", msgpfx); -#endif + /*** now must_alloc is true ***/ /* with must_alloc set we always allocate new memory whether or not we're