All pastes #388338 Raw Edit

kumbayo

public text v1 · immutable
·published 2007-03-10 00:18 UTC
rendered paste body
From 9d5e5b6ab1b42134892fd717a7b146c91cd36cb5 Mon Sep 17 00:00:00 2001
From: Peter Oberndorfer <kumbayo84@arcor.de>
Date: Fri, 9 Mar 2007 21:35:24 +0100
Subject: [PATCH 1/1] dbghelp: hack for missing opengl symbols
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="------------1.5.0.2"

This is a multi-part message in MIME format.
--------------1.5.0.2
Content-Type: text/plain; charset=UTF-8; format=fixed
Content-Transfer-Encoding: 8bit


related to SYMOPT_AUTO_PUBLICS
---
 dlls/dbghelp/symbol.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
--------------1.5.0.2
Content-Type: text/x-patch;
 name="9d5e5b6ab1b42134892fd717a7b146c91cd36cb5.diff"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline;
 filename="9d5e5b6ab1b42134892fd717a7b146c91cd36cb5.diff"

diff --git a/dlls/dbghelp/symbol.c b/dlls/dbghelp/symbol.c
index b203145..a683203 100644
--- a/dlls/dbghelp/symbol.c
+++ b/dlls/dbghelp/symbol.c
@@ -153,9 +153,6 @@ struct symt_public* symt_new_public(struct module* module,
 
     TRACE_(dbghelp_symt)("Adding public symbol %s:%s @%lx\n",
                          module->module_name, name, address);
-    if ((dbghelp_options & SYMOPT_AUTO_PUBLICS) &&
-        symt_find_nearest(module, address) != NULL)
-        return NULL;
     if ((sym = pool_alloc(&module->pool, sizeof(*sym))))
     {
         sym->symt.tag      = SymTagPublicSymbol;

--------------1.5.0.2--