DbgHelp: Fix for Includes with Relative Paths
pouech-eric at wanadoo.fr
Mon Aug 23 14:31:22 CDT 2004
Robert Shearman a écrit :
> On startup, the debugger usually prompted me to type the path where
> "/winternl.h" can be found. This was due to the path being stored
> internally as "../../include/winternl.h", i.e. relative to the source
> directory. This patch adds the ability to store the source directory and
> then use it when encountering an include path of this type to get the
> full path, which means no more prompting.
> Store the current source directory and use it when encountering a
> relative include so that the full path to it is stored instead.
Robert, normally currpath is supposed to be the directory where the file
has been compiled. So, IMO currpath and srcpath duplicate the same stuff.
Does it mean that you only get one N_SO per compilation unit ? (the code
assumes two: the first one for the dir, the second for the path).
More information about the wine-devel